diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-07-10 20:59:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-07-10 21:23:11 +0200 |
commit | 58dc8bbca48578f1be44f39c45c30e5796d8fc9f (patch) | |
tree | 2762044e6c916bc4344fdb8e173aa3a5573271fb /libavcodec/h264_refs.c | |
parent | d4c8e931903a2b13cf0ccf454a705f688d3d467b (diff) | |
download | ffmpeg-58dc8bbca48578f1be44f39c45c30e5796d8fc9f.tar.gz |
avcodec/h264_refs: Assert that op is 0-2
Coverity fails to realize this
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/h264_refs.c')
-rw-r--r-- | libavcodec/h264_refs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c index 444849ae11..7fafb826d7 100644 --- a/libavcodec/h264_refs.c +++ b/libavcodec/h264_refs.c @@ -368,6 +368,8 @@ int ff_h264_build_ref_list(H264Context *h, H264SliceContext *sl) } break; } + default: + av_assert1(0); } if (i < 0) { |