1
0

HACK Revert "h264: free the tables and uninitialize the context on flush"

This reverts commit 9eda9d3322.
This commit causes the flush inside the DXVA2 init to crash, so we cannot do this here.

The fix isn't required for our use-case anyway, since LAV always does a hard-flush when seeking H.264.
This commit is contained in:
Hendrik Leppkes 2013-12-29 21:03:02 +01:00
parent a2caf159c4
commit a45fb51527
Signed by: hendrik
GPG Key ID: 846079A4B0A7C1B5

View File

@ -520,9 +520,6 @@ static void h264_decode_flush(AVCodecContext *avctx)
h->mb_y = 0;
h->non_gray = 0;
ff_h264_free_tables(h);
h->context_initialized = 0;
if (FF_HW_HAS_CB(avctx, flush))
FF_HW_SIMPLE_CALL(avctx, flush);
}