avcodec/qtrle: don't clear the palette when flushing

It may be propagated only once for the entire stream.

Signed-off-by: James Almer <jamrial@gmail.com>
pull/321/head^2
James Almer 5 years ago
parent d70bbdc5fa
commit b319feb05f
  1. 1
      libavcodec/qtrle.c

@ -576,7 +576,6 @@ static void qtrle_decode_flush(AVCodecContext *avctx)
{ {
QtrleContext *s = avctx->priv_data; QtrleContext *s = avctx->priv_data;
memset(s->pal, 0, sizeof(s->pal));
av_frame_unref(s->frame); av_frame_unref(s->frame);
} }

Loading…
Cancel
Save