diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-05-04 17:44:14 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-05-04 17:44:14 +0200 |
commit | d90f91c1c85d252c7b6f6b42c256fc10f7d2b5e8 (patch) | |
tree | 920a67cc34889e83caabff29b76590561e28933a /libavformat/mxfenc.c | |
parent | 5d309d309108684f742bbf5fc2393f1c519cda72 (diff) | |
download | ffmpeg-d90f91c1c85d252c7b6f6b42c256fc10f7d2b5e8.tar.gz |
lavf/mxfenc: Write correct interlaced flag when muxing dnxhd.
Reported and early patch version tested by forum user gridtank.
Reviewed-by: Tomas Härdin
Diffstat (limited to 'libavformat/mxfenc.c')
-rw-r--r-- | libavformat/mxfenc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index efa1e04116..59667924f0 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -1640,6 +1640,8 @@ AVPacket *pkt) if ((frame_size = avpriv_dnxhd_get_frame_size(cid)) < 0) return -1; + if ((sc->interlaced = avpriv_dnxhd_get_interlaced(cid)) < 0) + return AVERROR_INVALIDDATA; switch (cid) { case 1235: |