[FFmpeg-devel] [PATCH] mpeg4dec: Ensure data is not clobbered too early.
Reimar.Doeffinger at gmx.de
Sat Sep 21 09:42:41 CEST 2013
On Fri, Sep 20, 2013 at 10:23:32PM +0200, Michael Niedermayer wrote:
> On Thu, Sep 19, 2013 at 01:13:02AM +0200, Reimar Döffinger wrote:
> > Avoid overwriting the bitstream buffer data before we
> > have ended processing the frame.
> > This is necessary to fix hwaccels which might try to use
> > the buffer during the end_frame call.
> if such hwaccels exist then this should be ok, but a comment should
> be added to the code explaining why the end code is done first
I think all hwaccels wait until end of frame to send data to decoder.
Either way, pushed with such a comment.
More information about the ffmpeg-devel