[FFmpeg-devel] [PATCH] Compute proper pkt->pos in mxfdec.c

Reimar Döffinger Reimar.Doeffinger
Wed May 12 19:01:22 CEST 2010

On Wed, May 12, 2010 at 04:48:04PM +0200, Tomas H?rdin wrote:
> Today I noticed that the MXF demuxer calculates incorrect values for its
> packet offsets (pkt->pos). They point at the start of the KLV triplets,
> not the essence data itself (which is what pos is for unless I'm
> mistaken).

pos first and foremost is for automatic index generation, so the top
criteria is that the demuxer must be able to demux from exactly that
position, so I doubt this is right.
If I was the MXF maintainer I'd consider the additional complexity sufficient
to reject it, since you did not really give a convincing reason why it should
be any better.

More information about the ffmpeg-devel mailing list