aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2017-03-01 23:35:14 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-10-22 23:41:14 +0200
commit06899863a82c80a91e56c32c65d4e8703fe779b0 (patch)
tree6cbc58f7835c09e41da4233ca6eaafb7112a8433
parent72c3d9ae4528543a17d760a173a78a05a85e579e (diff)
downloadffmpeg-06899863a82c80a91e56c32c65d4e8703fe779b0.tar.gz
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
-rw-r--r--libavcodec/bitstream_filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bitstream_filter.c b/libavcodec/bitstream_filter.c
index 8599b90d4a..d2bf86d894 100644
--- a/libavcodec/bitstream_filter.c
+++ b/libavcodec/bitstream_filter.c
@@ -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);