aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libx264.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2011-07-20 09:24:07 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2011-07-20 10:26:49 -0700
commit80469eafb747018cb9d9a2547f65def715d073b2 (patch)
tree8ce28c850782798a289a4af84690fd24aa486a42 /libavcodec/libx264.c
parente4b50572b7bae9edd0374f2ef918e6c68a4da018 (diff)
downloadffmpeg-80469eafb747018cb9d9a2547f65def715d073b2.tar.gz
mpegvideo: fix invalid picture unreferencing.
Mpegvideo would free frames as soon as they're not the next or prev picture. This is fine for a single-threading model, but fails miserably in a system where pictures can be referenced (as e.g. last/prev pic) in other threads. Keeping track of ownership of pictures keeps image references (e.g. motion vectors, or the reference of a motion vector) alive as long as the picture data itself is alive. This also happens to fix make THREADS=[3-16] fate-vsynth[12]-error.
Diffstat (limited to 'libavcodec/libx264.c')
0 files changed, 0 insertions, 0 deletions