Re: [FFmpeg-devel] [PATCH 11/11] avcodec/mpegpicture: Always reset motion val buffer

2022-08-11 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Codecs call ff_find_unused_picture() to get the index of > an unused picture; said picture may have buffers left > from using it previously (these buffers are intentionally > not unreferenced so that it might be possible to reuse them; > this is mpegvideo's version of a buffer

[FFmpeg-devel] [PATCH 11/11] avcodec/mpegpicture: Always reset motion val buffer

2022-08-09 Thread Andreas Rheinhardt
Codecs call ff_find_unused_picture() to get the index of an unused picture; said picture may have buffers left from using it previously (these buffers are intentionally not unreferenced so that it might be possible to reuse them; this is mpegvideo's version of a bufferpool). They should not make an