summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264_refs.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-07-10 20:59:15 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-07-10 21:23:11 +0200
commit58dc8bbca48578f1be44f39c45c30e5796d8fc9f (patch)
tree2762044e6c916bc4344fdb8e173aa3a5573271fb /libavcodec/h264_refs.c
parentd4c8e931903a2b13cf0ccf454a705f688d3d467b (diff)
downloadffmpeg-streaming-58dc8bbca48578f1be44f39c45c30e5796d8fc9f.zip
ffmpeg-streaming-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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c
index 444849a..7fafb82 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) {
OpenPOWER on IntegriCloud