summaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.h
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/mpegvideo.h
parent8c14f7a5937f05238e0e16da6ceccad8a86458ad (diff)
downloadffmpeg-streaming-89b81a1c8841817fd3610396a33e6a1420a195ec.zip
ffmpeg-streaming-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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index b73da41..f5b20e6 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 ? \
OpenPOWER on IntegriCloud