mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +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:
parent
d4c8e93190
commit
58dc8bbca4
@ -368,6 +368,8 @@ int ff_h264_build_ref_list(H264Context *h, H264SliceContext *sl)
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
av_assert1(0);
|
||||
}
|
||||
|
||||
if (i < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user