[SCM] libav/experimental: hevc: Mark num_bins_in_se as unused

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:03:30 UTC 2014


The following commit has been merged in the experimental branch:
commit 869fc416f7c78ed4e397e0208acd1545771c0502
Author: Luca Barbato <lu_zero at gentoo.org>
Date:   Wed Jun 18 16:20:48 2014 +0200

    hevc: Mark num_bins_in_se as unused
    
    Only its size is actually used. Silence a clang warning.

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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list