1
0
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:
Michael Niedermayer
2016-07-10 20:59:15 +02:00
parent d4c8e93190
commit 58dc8bbca4

View File

@@ -368,6 +368,8 @@ int ff_h264_build_ref_list(H264Context *h, H264SliceContext *sl)
}
break;
}
default:
av_assert1(0);
}
if (i < 0) {