[FFmpeg-devel] [PATCH] Fix DV uninitialized reads

Reimar Döffinger Reimar.Doeffinger
Fri Sep 25 21:42:04 CEST 2009


On Fri, Sep 25, 2009 at 11:51:22AM -0700, Baptiste Coudurier wrote:
> I understand, and I agree that fixing a bug is better than letting
> it this way for ages, however once we are at fixing it, we can make
> sure that's it's fixed in the best possible way.
> 
> It just the matter of the padding value (0 or 1).

I have been looking at it, but I can not find anything at all about this.
The only thing I can say is that DV in general uses 1 for reserved or not
available data in the headers or AAUX packets.
Also all-1 gives longer VLC code words, so padding with 1 might make it easier
to detect a damaged EOB marker, though that is quite questionable.



More information about the ffmpeg-devel mailing list