Browse Source

avformat/mxfenc: fix aspect ratio when writing 16:9 DV frames

Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
tags/n3.4
Tobias Rapp 8 years ago
parent
commit
35d6be199a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mxfenc.c

+ 1
- 1
libavformat/mxfenc.c View File

@@ -1810,7 +1810,7 @@ static int mxf_parse_dv_frame(AVFormatContext *s, AVStream *st, AVPacket *pkt)
stype = vs_pack[3] & 0x1f;
pal = (vs_pack[3] >> 5) & 0x1;

if ((vs_pack[2] & 0x07) == 0x02)
if ((vsc_pack[2] & 0x07) == 0x02)
sc->aspect_ratio = (AVRational){ 16, 9 };
else
sc->aspect_ratio = (AVRational){ 4, 3 };


Loading…
Cancel
Save