summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo_enc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-03-15 22:04:21 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-03-15 22:05:30 +0100
commitbf3a40457264556ec1a39aa0659af921a5dd5df9 (patch)
tree92592f8dc13140f4786a23203a5eef694cec6bba /libavcodec/mpegvideo_enc.c
parentadd40b7b6afc18eb1cf410bc814db3a3ec5858cf (diff)
downloadffmpeg-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_enc.c')
-rw-r--r--libavcodec/mpegvideo_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index 9c7b889b97..4a79dff374 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -1418,7 +1418,7 @@ no_output_pic:
}
int ff_MPV_encode_picture(AVCodecContext *avctx, AVPacket *pkt,
- const AVFrame *pic_arg, int *got_packet)
+ AVFrame *pic_arg, int *got_packet)
{
MpegEncContext *s = avctx->priv_data;
int i, stuffing_count, ret;