mirror of https://git.ffmpeg.org/ffmpeg.git
lavc/bitstream_filter: Make a cast explicit.
Fixes the following gcc warning: libavcodec/bitstream_filter.c:133:14: warning: assignment discards ‘const’ qualifier from pointer target type
This commit is contained in:
parent
72c3d9ae45
commit
06899863a8
|
@ -131,7 +131,7 @@ int av_bitstream_filter_filter(AVBitStreamFilterContext *bsfc,
|
|||
return ret;
|
||||
}
|
||||
|
||||
pkt.data = buf;
|
||||
pkt.data = (uint8_t *)buf;
|
||||
pkt.size = buf_size;
|
||||
|
||||
ret = av_bsf_send_packet(priv->ctx, &pkt);
|
||||
|
|
Loading…
Reference in New Issue