ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | Thu Sep 23 18:13:51 2021 +0200| [2882286a08c20fbb50bb55e16c82cbe6fdbfd565] | committer: Andreas Rheinhardt
avformat/jvdec: Make sizeof(JVFrame) smaller to save memory Reviewed-by: Peter Ross <pr...@xvid.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2882286a08c20fbb50bb55e16c82cbe6fdbfd565 --- libavformat/jvdec.c | 4 ++-- 1 file 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 { _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".