X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fhevc_mp4toannexb_bsf.c;h=d6feb998f8f2a1d188b3cf3dcc73343a6fcc4361;hb=71199ee9077da7d92a8728e2a694fb1ab31488a7;hp=54d6d79b8b0c5175541e64f5f6802c68b133fed3;hpb=7b865c222e43e315ef78859f5f87fb225fe09fb1;p=ffmpeg diff --git a/libavcodec/hevc_mp4toannexb_bsf.c b/libavcodec/hevc_mp4toannexb_bsf.c index 54d6d79b8b0..d6feb998f8f 100644 --- a/libavcodec/hevc_mp4toannexb_bsf.c +++ b/libavcodec/hevc_mp4toannexb_bsf.c @@ -134,7 +134,7 @@ static int hevc_mp4toannexb_filter(AVBitStreamFilterContext *bsfc, "The input looks like it is Annex B already\n"); ctx->logged_nonmp4_warning = 1; } - *poutbuf = buf; + *poutbuf = (uint8_t *)buf; *poutbuf_size = buf_size; return 0; }