forked from FFmpeg/FFmpeg
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:
parent
d4c8e93190
commit
58dc8bbca4
1 changed files with 2 additions and 0 deletions
|
@ -368,6 +368,8 @@ int ff_h264_build_ref_list(H264Context *h, H264SliceContext *sl)
|
|||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
av_assert1(0);
|
||||
}
|
||||
|
||||
if (i < 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue