diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-03-15 22:04:21 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-03-15 22:05:30 +0100 |
commit | bf3a40457264556ec1a39aa0659af921a5dd5df9 (patch) | |
tree | 92592f8dc13140f4786a23203a5eef694cec6bba /libavcodec/mpegvideo.h | |
parent | add40b7b6afc18eb1cf410bc814db3a3ec5858cf (diff) | |
download | ffmpeg-bf3a40457264556ec1a39aa0659af921a5dd5df9.tar.gz |
mpegvideo: fix constness error in ff_MPV_encode_picture()
The struct has some of its fields changed, thus is not strictly const.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 8cda2e9e2a..102c73b311 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -750,7 +750,7 @@ void ff_MPV_frame_end(MpegEncContext *s); int ff_MPV_encode_init(AVCodecContext *avctx); int ff_MPV_encode_end(AVCodecContext *avctx); int ff_MPV_encode_picture(AVCodecContext *avctx, AVPacket *pkt, - const AVFrame *frame, int *got_packet); + AVFrame *frame, int *got_packet); void ff_MPV_common_init_mmx(MpegEncContext *s); void ff_MPV_common_init_axp(MpegEncContext *s); void ff_MPV_common_init_mmi(MpegEncContext *s); |