[FFmpeg-cvslog] hevc: Mark num_bins_in_se as unused

Luca Barbato git at videolan.org
Wed Jun 18 23:37:32 CEST 2014


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Wed Jun 18 16:20:48 2014 +0200| [869fc416f7c78ed4e397e0208acd1545771c0502] | committer: Luca Barbato

hevc: Mark num_bins_in_se as unused

Only its size is actually used. Silence a clang warning.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=869fc416f7c78ed4e397e0208acd1545771c0502
---

 libavcodec/hevc_cabac.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/hevc_cabac.c b/libavcodec/hevc_cabac.c
index f2531d4..ff55b02 100644
--- a/libavcodec/hevc_cabac.c
+++ b/libavcodec/hevc_cabac.c
@@ -32,7 +32,7 @@
 /**
  * number of bin by SyntaxElement.
  */
-static const int8_t num_bins_in_se[] = {
+av_unused static const int8_t num_bins_in_se[] = {
      1, // sao_merge_flag
      1, // sao_type_idx
      0, // sao_eo_class



More information about the ffmpeg-cvslog mailing list