mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/mxfenc: cosmetic changes
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
This commit is contained in:
parent
147bface1a
commit
3ffd3b7f5f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue