You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/h264_refs: Assert that op is 0-2
Coverity fails to realize this Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -368,6 +368,8 @@ int ff_h264_build_ref_list(H264Context *h, H264SliceContext *sl)
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
av_assert1(0);
|
||||
}
|
||||
|
||||
if (i < 0) {
|
||||
|
Reference in New Issue
Block a user