diff --git a/libavcodec/rv30.c b/libavcodec/rv30.c index a18780cc9e..138f3e30f4 100644 --- a/libavcodec/rv30.c +++ b/libavcodec/rv30.c @@ -276,5 +276,6 @@ AVCodec rv30_decoder = { ff_rv34_decode_end, ff_rv34_decode_frame, CODEC_CAP_DR1 | CODEC_CAP_DELAY, + .flush = ff_mpeg_flush, .long_name = NULL_IF_CONFIG_SMALL("RealVideo 3.0"), }; diff --git a/libavcodec/rv40.c b/libavcodec/rv40.c index 5c9196cd79..fdab13cd63 100644 --- a/libavcodec/rv40.c +++ b/libavcodec/rv40.c @@ -654,5 +654,6 @@ AVCodec rv40_decoder = { ff_rv34_decode_end, ff_rv34_decode_frame, CODEC_CAP_DR1 | CODEC_CAP_DELAY, + .flush = ff_mpeg_flush, .long_name = NULL_IF_CONFIG_SMALL("RealVideo 4.0"), };