X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fhevc_mp4toannexb_bsf.c;h=d6feb998f8f2a1d188b3cf3dcc73343a6fcc4361;hb=dabea74d0e82ea80cd344f630497cafcb3ef872c;hp=54d6d79b8b0c5175541e64f5f6802c68b133fed3;hpb=09c15eac3e8c394531edf4aa8f4fd880e77d07e6;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; }