History

lavc/ffv1dec: drop code handling AV_PIX_FMT_FLAG_PAL

No paletted pixel formats are supported by the decoder.

Anton Khirnov committed 2 years ago

Commit 15bdca01 parent 43cde541 file · +1 −4Browse files

Unified · Split

libavcodec/ffv1dec.c+1−4
@@ -982,10 +982,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *rframe, · 981 unmodified lines
982 (sc->slice_y >> sv) + ((sc->slice_x >> sh) << pixshift);982 (sc->slice_y >> sv) + ((sc->slice_x >> sh) << pixshift);
983 983
984 }984 }
985 if (desc->flags & AV_PIX_FMT_FLAG_PAL) {985
986 dst[1] = p->data[1];
987 src[1] = f->last_picture.f->data[1];
988 }
989 av_image_copy(dst, p->linesize, src,986 av_image_copy(dst, p->linesize, src,
990 f->last_picture.f->linesize,987 f->last_picture.f->linesize,
991 avctx->pix_fmt,988 avctx->pix_fmt,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t