diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-02-27 17:07:30 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-03-16 23:01:01 +0100 |
commit | 5d1c2e53ab3ce27b48c138d22bb01ff8e8304f27 (patch) | |
tree | 1c3a6e95066b51609375397a753c985e143f37cd /libavcodec/h264_ps.c | |
parent | 9b749c8274f6b6f35dde2cf29b99fa4f719abf87 (diff) | |
download | ffmpeg-5d1c2e53ab3ce27b48c138d22bb01ff8e8304f27.tar.gz |
h264: Replace mpegvideo-specific MAX_PICTURE_COUNT by private define
Diffstat (limited to 'libavcodec/h264_ps.c')
-rw-r--r-- | libavcodec/h264_ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_ps.c b/libavcodec/h264_ps.c index 94efaa2f7a..b5b6a44cb3 100644 --- a/libavcodec/h264_ps.c +++ b/libavcodec/h264_ps.c @@ -400,7 +400,7 @@ int ff_h264_decode_seq_parameter_set(H264Context *h) } sps->ref_frame_count = get_ue_golomb_31(&h->gb); - if (sps->ref_frame_count > MAX_PICTURE_COUNT - 2 || + if (sps->ref_frame_count > H264_MAX_PICTURE_COUNT - 2 || sps->ref_frame_count >= 32U) { av_log(h->avctx, AV_LOG_ERROR, "too many reference frames %d\n", sps->ref_frame_count); |