diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-10-23 11:46:41 -0400 |
---|---|---|
committer | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-10-24 15:14:59 -0400 |
commit | 4c96985af1b8870482b6b6ef9120960633f62cee (patch) | |
tree | 6ca875a85c153086750bf90be45a14fd4c9b636a /libavcodec | |
parent | 49d8a70dc51ea5f05d747b4acc4e772252e86cbc (diff) | |
download | ffmpeg-4c96985af1b8870482b6b6ef9120960633f62cee.tar.gz |
all: remove some casts of function pointer to void *
These casts are unnecessary, and may safely be removed.
Found by enabling -Wpedantic on clang 3.7.
Tested with FATE.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/hevc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index cd49718b79..4b3f19998c 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -2511,7 +2511,7 @@ static int hls_slice_data_wpp(HEVCContext *s, const HEVCNAL *nal) } if (s->ps.pps->entropy_coding_sync_enabled_flag) - s->avctx->execute2(s->avctx, (void *) hls_decode_entry_wpp, arg, ret, s->sh.num_entry_point_offsets + 1); + s->avctx->execute2(s->avctx, hls_decode_entry_wpp, arg, ret, s->sh.num_entry_point_offsets + 1); for (i = 0; i <= s->sh.num_entry_point_offsets; i++) res += ret[i]; |