Commit 0431d3b1 authored by Michael Niedermayer's avatar Michael Niedermayer

one "cast discards qualifiers from pointer target type" less

Originally committed as revision 11709 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 7993df65
......@@ -1000,7 +1000,7 @@ int avcodec_decode_subtitle(AVCodecContext *avctx, AVSubtitle *sub,
*got_sub_ptr = 0;
ret = avctx->codec->decode(avctx, sub, got_sub_ptr,
(uint8_t *)buf, buf_size);
buf, buf_size);
if (*got_sub_ptr)
avctx->frame_number++;
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment