You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/mxfenc: cosmetic changes
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
This commit is contained in:
@@ -1810,10 +1810,11 @@ static int mxf_parse_dv_frame(AVFormatContext *s, AVStream *st, AVPacket *pkt)
|
||||
stype = vs_pack[3] & 0x1f;
|
||||
pal = (vs_pack[3] >> 5) & 0x1;
|
||||
|
||||
if ((vsc_pack[2] & 0x07) == 0x02)
|
||||
if ((vsc_pack[2] & 0x07) == 0x02) {
|
||||
sc->aspect_ratio = (AVRational){ 16, 9 };
|
||||
else
|
||||
} else {
|
||||
sc->aspect_ratio = (AVRational){ 4, 3 };
|
||||
}
|
||||
|
||||
sc->interlaced = (vsc_pack[3] >> 4) & 0x01;
|
||||
// TODO: fix dv encoder to set proper FF/FS value in VSC pack
|
||||
|
Reference in New Issue
Block a user