提交 3f47e24c 编写于 作者: L Lukasz Marek 提交者: Michael Niedermayer

lavc/mpegvideo: add missing const

Signed-off-by: NLukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 aeb2905f
...@@ -800,7 +800,7 @@ void ff_MPV_frame_end(MpegEncContext *s); ...@@ -800,7 +800,7 @@ void ff_MPV_frame_end(MpegEncContext *s);
int ff_MPV_encode_init(AVCodecContext *avctx); int ff_MPV_encode_init(AVCodecContext *avctx);
int ff_MPV_encode_end(AVCodecContext *avctx); int ff_MPV_encode_end(AVCodecContext *avctx);
int ff_MPV_encode_picture(AVCodecContext *avctx, AVPacket *pkt, int ff_MPV_encode_picture(AVCodecContext *avctx, AVPacket *pkt,
AVFrame *frame, int *got_packet); const AVFrame *frame, int *got_packet);
void ff_dct_encode_init_x86(MpegEncContext *s); void ff_dct_encode_init_x86(MpegEncContext *s);
void ff_MPV_common_init_x86(MpegEncContext *s); void ff_MPV_common_init_x86(MpegEncContext *s);
void ff_MPV_common_init_axp(MpegEncContext *s); void ff_MPV_common_init_axp(MpegEncContext *s);
......
...@@ -1603,7 +1603,7 @@ static int frame_start(MpegEncContext *s) ...@@ -1603,7 +1603,7 @@ static int frame_start(MpegEncContext *s)
} }
int ff_MPV_encode_picture(AVCodecContext *avctx, AVPacket *pkt, int ff_MPV_encode_picture(AVCodecContext *avctx, AVPacket *pkt,
AVFrame *pic_arg, int *got_packet) const AVFrame *pic_arg, int *got_packet)
{ {
MpegEncContext *s = avctx->priv_data; MpegEncContext *s = avctx->priv_data;
int i, stuffing_count, ret; int i, stuffing_count, ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册