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:
Carl Eugen Hoyos 2017-03-01 23:35:14 +01:00 committed by Carl Eugen Hoyos
parent 72c3d9ae45
commit 06899863a8
1 changed files with 1 additions and 1 deletions

View File

@ -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);