Fixed removed #endif
@@ -249,6 +249,7 @@ static int libavcodec_decompress(H264_CONTEXT* h264, const BYTE* pSrcData, UINT3
sys->hwctx ? sys->hwVideoFrame : sys->videoFrame, &gotFrame, packet);
#else
status = avcodec_decode_video2(sys->codecDecoderContext, sys->videoFrame, &gotFrame, packet);
+#endif
#endif
if (status < 0)
{
