diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-11-07 20:20:18 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-12-19 00:49:33 +0100 |
commit | 25ddf888d8bac2a9c55a18f9651f27a62d50e2fb (patch) | |
tree | 681059a29e51eed6692687bce88b5d3150fceb45 /libavformat | |
parent | c26730ed8fb7ca94ef448f53dd69da472aa4e75b (diff) | |
download | ffmpeg-25ddf888d8bac2a9c55a18f9651f27a62d50e2fb.tar.gz |
avformat/mxfenc: Use smaller types to make struct smaller
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mxfenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 00bbe58149..bb6d94bda5 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -2195,9 +2195,9 @@ static int mxf_parse_dv_frame(AVFormatContext *s, AVStream *st, AVPacket *pkt) static const struct { UID uid; int frame_size; - int profile; + uint8_t profile; uint8_t interlaced; - int intra_only; // 1 or 0 when there are separate UIDs for Long GOP and Intra, -1 when Intra/LGOP detection can be ignored + int8_t intra_only; // 1 or 0 when there are separate UIDs for Long GOP and Intra, -1 when Intra/LGOP detection can be ignored } mxf_h264_codec_uls[] = { {{ 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0a,0x04,0x01,0x02,0x02,0x01,0x31,0x11,0x01 }, 0, 66, 0, -1 }, // AVC Baseline {{ 0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x0a,0x04,0x01,0x02,0x02,0x01,0x31,0x20,0x01 }, 0, 77, 0, -1 }, // AVC Main |