mpegvideo: Have ff_mpeg_unref_picture use AVCodecContext directly
This skips setting the memory to 0 but allows for reuse on different contextes. Oracle did not report any unsual activity because of it.
This commit is contained in:
@@ -864,7 +864,7 @@ void ff_wmv2_encode_mb(MpegEncContext * s,
|
||||
int motion_x, int motion_y);
|
||||
|
||||
int ff_mpeg_ref_picture(MpegEncContext *s, Picture *dst, Picture *src);
|
||||
void ff_mpeg_unref_picture(MpegEncContext *s, Picture *picture);
|
||||
void ff_mpeg_unref_picture(AVCodecContext *avctx, Picture *picture);
|
||||
void ff_free_picture_tables(Picture *pic);
|
||||
|
||||
#endif /* AVCODEC_MPEGVIDEO_H */
|
||||
|
||||
Reference in New Issue
Block a user