summaryrefslogtreecommitdiff
path: root/libavcodec/error_resilience.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-06-24 21:19:24 +0300
committerMartin Storsjö <martin@martin.st>2012-07-04 15:10:57 +0300
commit89b81a1c8841817fd3610396a33e6a1420a195ec (patch)
tree06a9f58143a78dd6d398f879d584ce04febdd3ac /libavcodec/error_resilience.c
parent8c14f7a5937f05238e0e16da6ceccad8a86458ad (diff)
downloadffmpeg-89b81a1c8841817fd3610396a33e6a1420a195ec.tar.gz
mpegvideo: remove VLAs
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/error_resilience.c')
-rw-r--r--libavcodec/error_resilience.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/error_resilience.c b/libavcodec/error_resilience.c
index fa1e008584..9cebb6d52e 100644
--- a/libavcodec/error_resilience.c
+++ b/libavcodec/error_resilience.c
@@ -388,7 +388,7 @@ static void v_block_filter(MpegEncContext *s, uint8_t *dst, int w, int h,
static void guess_mv(MpegEncContext *s)
{
- uint8_t fixed[s->mb_stride * s->mb_height];
+ uint8_t *fixed = s->er_temp_buffer;
#define MV_FROZEN 3
#define MV_CHANGED 2
#define MV_UNCHANGED 1