Re: [FFmpeg-devel] [PATCH] lavf/mpegtsdec: fix AVPacket.pos when FEC/DVHS/BDAV data is present

2018-08-31 Thread Hendrik Leppkes
On Fri, Aug 31, 2018 at 7:28 AM Rodger Combs wrote: > > We previously set pos to several bytes before the actual packet sync byte, > which meant that seeking to pos relied on resync working, which can fail > if there are 0x47 bytes in the additional data. > > The resync issue should probably also

[FFmpeg-devel] [PATCH] lavf/mpegtsdec: fix AVPacket.pos when FEC/DVHS/BDAV data is present

2018-08-30 Thread Rodger Combs
We previously set pos to several bytes before the actual packet sync byte, which meant that seeking to pos relied on resync working, which can fail if there are 0x47 bytes in the additional data. The resync issue should probably also be fixed separately. --- libavformat/mpegts.c | 3 +-- 1 file