diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-23 18:13:51 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-26 01:43:18 +0200 |
commit | 2882286a08c20fbb50bb55e16c82cbe6fdbfd565 (patch) | |
tree | d2d57ffa8d705cff6637eaea10fc235dae3b8de8 /libavformat | |
parent | 9f4708c22def8a0f13c3b2bc39baca928bb58aaa (diff) | |
download | ffmpeg-2882286a08c20fbb50bb55e16c82cbe6fdbfd565.tar.gz |
avformat/jvdec: Make sizeof(JVFrame) smaller to save memory
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/jvdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/jvdec.c b/libavformat/jvdec.c index 8f21ea1893..93569c87df 100644 --- a/libavformat/jvdec.c +++ b/libavformat/jvdec.c @@ -36,8 +36,8 @@ typedef struct JVFrame { int audio_size; /**< audio packet size (bytes) */ int video_size; /**< video packet size (bytes) */ - int palette_size; /**< palette size (bytes) */ - int video_type; /**< per-frame video compression type */ + uint16_t palette_size; /**< palette size (bytes) */ + uint8_t video_type; /**< per-frame video compression type */ } JVFrame; typedef struct JVDemuxContext { |