mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-03 06:27:44 +08:00
one "cast discards qualifiers from pointer target type" less
Originally committed as revision 11709 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -1000,7 +1000,7 @@ int avcodec_decode_subtitle(AVCodecContext *avctx, AVSubtitle *sub,
|
|||||||
|
|
||||||
*got_sub_ptr = 0;
|
*got_sub_ptr = 0;
|
||||||
ret = avctx->codec->decode(avctx, sub, got_sub_ptr,
|
ret = avctx->codec->decode(avctx, sub, got_sub_ptr,
|
||||||
(uint8_t *)buf, buf_size);
|
buf, buf_size);
|
||||||
if (*got_sub_ptr)
|
if (*got_sub_ptr)
|
||||||
avctx->frame_number++;
|
avctx->frame_number++;
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user