[FFmpeg-devel] [PATCH] mpeg4dec: Ensure data is not clobbered too early.

Michael Niedermayer michaelni at gmx.at
Fri Sep 20 22:23:32 CEST 2013


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct answer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130920/c71c570f/attachment.asc>


More information about the ffmpeg-devel mailing list