]> git.sesse.net Git - ffmpeg/commit
avformat/mxfdec: guess wrapping of tracks by other tracks with the same body sid
authorMarton Balint <cus@passwd.hu>
Sun, 7 Apr 2019 00:27:49 +0000 (02:27 +0200)
committerMarton Balint <cus@passwd.hu>
Sun, 28 Apr 2019 19:55:28 +0000 (21:55 +0200)
commit5b6960f955a8914594182baeb1ab8f523acc5323
tree3101be23410e3cfd182efd7553e939acd2c8d694
parenta5136426a73261e5b5a493f33944be82b6b659c6
avformat/mxfdec: guess wrapping of tracks by other tracks with the same body sid

This affects the following samples:

samples/ffmpeg-bugs/roundup/issue1775/av_seek_frame_failure.mxf
samples/ffmpeg-bugs/trac/ticket1957/16ch.mxf
samples/ffmpeg-bugs/trac/ticket5016/r0.mxf
samples/ffmpeg-bugs/trac/ticket5016/r1.mxf
samples/ffmpeg-bugs/trac/ticket5316/hq.MXF
samples/ffmpeg-bugs/trac/ticket5316/hqx.MXF

Some AVPacket->pos values are changed because for frame wrapped tracks we point
to the KLV offset and not the data.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/mxfdec.c