diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-04-27 22:09:19 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-05-22 15:34:39 +0100 |
commit | d528045558825f01472e9bee873f60c98d661e53 (patch) | |
tree | f810347121f457b9d5f175e0a0e249a937da2452 /libavcodec/mpegvideo.h | |
parent | 6f54dc43cee6b2f5d183acf98b32a3cf8be4a4fc (diff) | |
download | ffmpeg-d528045558825f01472e9bee873f60c98d661e53.tar.gz |
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.
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index b8f96302bb..45c8712428 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -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 */ |