diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-06-24 21:19:24 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-07-04 15:10:57 +0300 |
commit | 89b81a1c8841817fd3610396a33e6a1420a195ec (patch) | |
tree | 06a9f58143a78dd6d398f879d584ce04febdd3ac /libavcodec/mpegvideo.h | |
parent | 8c14f7a5937f05238e0e16da6ceccad8a86458ad (diff) | |
download | ffmpeg-89b81a1c8841817fd3610396a33e6a1420a195ec.tar.gz |
mpegvideo: remove VLAs
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index b73da416ba..f5b20e662e 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -696,6 +696,12 @@ typedef struct MpegEncContext { int mpv_flags; ///< flags set by private options int quantizer_noise_shaping; + + /* error resilience stuff */ + uint8_t *er_temp_buffer; + + /* temp buffers for rate control */ + float *cplx_tab, *bits_tab; } MpegEncContext; #define REBASE_PICTURE(pic, new_ctx, old_ctx) (pic ? \ |