mirror of https://git.ffmpeg.org/ffmpeg.git
lavc/ffv1dec: drop code handling AV_PIX_FMT_FLAG_PAL
No paletted pixel formats are supported by the decoder.
This commit is contained in:
parent
43cde54fc1
commit
15bdca054f
|
@ -982,10 +982,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *rframe,
|
|||
(sc->slice_y >> sv) + ((sc->slice_x >> sh) << pixshift);
|
||||
|
||||
}
|
||||
if (desc->flags & AV_PIX_FMT_FLAG_PAL) {
|
||||
dst[1] = p->data[1];
|
||||
src[1] = f->last_picture.f->data[1];
|
||||
}
|
||||
|
||||
av_image_copy(dst, p->linesize, src,
|
||||
f->last_picture.f->linesize,
|
||||
avctx->pix_fmt,
|
||||
|
|
Loading…
Reference in New Issue