History

avcodec/libuavs3d: pixel format should be native endian

Zhao Zhili committed 1 year ago

Commit 51b61ec1 parent 2a189d41 file · +1 −1Browse files

Unified · Split

libavcodec/libuavs3d.c+1−1
@@ -123,7 +123,7 @@ static int libuavs3d_on_seq_header(AVCodecContext *avctx) · 122 unmodified lines
123123 avctx->framerate.den = ff_avs3_frame_rate_tab[seqh->frame_rate_code].den;
124124 }
125125 avctx->has_b_frames = seqh->output_reorder_delay;
126− avctx->pix_fmt = seqh->bit_depth_internal == 8 ? AV_PIX_FMT_YUV420P : AV_PIX_FMT_YUV420P10LE;
126+ avctx->pix_fmt = seqh->bit_depth_internal == 8 ? AV_PIX_FMT_YUV420P : AV_PIX_FMT_YUV420P10;
127127 ret = ff_set_dimensions(avctx, seqh->horizontal_size, seqh->vertical_size);
128128 if (ret < 0)
129129 return ret;

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