mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
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
Block a user