[FFmpeg-soc] [soc] Limit ff_find_unused_picture to only part of s->picture.

Alexander Strange astrange at ithinksw.com
Tue Jun 17 01:57:13 CEST 2008


 Otherwise, a thread may call delayed_release_buffer and then later allocate a picture in the same place, reusing the other Picture variables while they're still in use.
---
 libavcodec/mpegvideo.c |   12 ++++++++----
 libavcodec/mpegvideo.h |    3 +++
 2 files changed, 11 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3b3c538eddf60e21e47ac9c128e0560902dde0ab.diff
Type: text/x-patch
Size: 2431 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20080616/b98f6f16/attachment.bin>


More information about the FFmpeg-soc mailing list