Commit 58dc8bbc authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/h264_refs: Assert that op is 0-2

Coverity fails to realize this
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent d4c8e931
......@@ -368,6 +368,8 @@ int ff_h264_build_ref_list(H264Context *h, H264SliceContext *sl)
}
break;
}
default:
av_assert1(0);
}
if (i < 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment