Unified · Split
| @@ -2862,6 +2862,7 @@ static void flush(AVCodecContext *avctx) · 2861 unmodified lines | ||
| 2862 | 2862 | s->sync = 0; |
| 2863 | 2863 | s->closed_gop = 0; |
| 2864 | 2864 | |
| 2865 | + av_buffer_unref(&s->a53_buf_ref); | |
| 2865 | 2866 | ff_mpeg_flush(avctx); |
| 2866 | 2867 | } |
| 2867 | 2868 | |