summaryrefslogtreecommitdiffstats
path: root/libavformat/h264dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-05-04 22:43:01 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-05-04 22:43:01 +0200
commit03e8c1b84398349a65f90cf7052cedad0f7acb5a (patch)
treeda58f05acbcbc14c9561661fa79c1aa4cb48b937 /libavformat/h264dec.c
parent824906a5416baed3842cb19bc24f4cb672c96ca8 (diff)
downloadffmpeg-streaming-03e8c1b84398349a65f90cf7052cedad0f7acb5a.zip
ffmpeg-streaming-03e8c1b84398349a65f90cf7052cedad0f7acb5a.tar.gz
avformat/h264dec: Avoid get_ue_golomb_31( ) due to ff_ prefixed table from golomb.c
Found-by: jamrial Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/h264dec.c')
-rw-r--r--libavformat/h264dec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/h264dec.c b/libavformat/h264dec.c
index 14d6e88..85d7163 100644
--- a/libavformat/h264dec.c
+++ b/libavformat/h264dec.c
@@ -70,7 +70,7 @@ static int h264_probe(AVProbeData *p)
case 1:
case 5:
get_ue_golomb_long(&gb);
- if (get_ue_golomb_31(&gb) > 9U)
+ if (get_ue_golomb_long(&gb) > 9U)
return 0;
pps_id = get_ue_golomb_long(&gb);
if (pps_id > MAX_PPS_COUNT)
@@ -88,7 +88,7 @@ static int h264_probe(AVProbeData *p)
if (get_bits(&gb, 2))
return 0;
skip_bits(&gb, 8);
- sps_id = get_ue_golomb_31(&gb);
+ sps_id = get_ue_golomb_long(&gb);
if (sps_id > MAX_SPS_COUNT)
return 0;
sps_ids[sps_id] = 1;
@@ -98,7 +98,7 @@ static int h264_probe(AVProbeData *p)
pps_id = get_ue_golomb_long(&gb);
if (pps_id > MAX_PPS_COUNT)
return 0;
- sps_id = get_ue_golomb_31(&gb);
+ sps_id = get_ue_golomb_long(&gb);
if (sps_id > MAX_SPS_COUNT)
return 0;
if (!sps_ids[sps_id])
OpenPOWER on IntegriCloud