diff mbox series

[FFmpeg-devel,1/9] ffmpeg: do not copy chroma_sample_location from the input stream

Message ID 20211115152400.5522-1-anton@khirnov.net
State Accepted
Commit e8380bbae6e3dfad9eaabf6ab0ba793221fd21f4
Headers show
Series [FFmpeg-devel,1/9] ffmpeg: do not copy chroma_sample_location from the input stream
Related show

Checks

Context Check Description
andriy/configurex86 warning Failed to apply patch
andriy/configureppc warning Failed to apply patch

Commit Message

Anton Khirnov Nov. 15, 2021, 3:23 p.m. UTC
It will be set from the supplied AVFrame later on.
---
 fftools/ffmpeg.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index f755f44bd9..0f2fe192ac 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -3368,8 +3368,6 @@  static int init_output_stream_encode(OutputStream *ost, AVFrame *frame)
 
     if (ist) {
         dec_ctx = ist->dec_ctx;
-
-        enc_ctx->chroma_sample_location = dec_ctx->chroma_sample_location;
     }
 
     if (enc_ctx->codec_type == AVMEDIA_TYPE_VIDEO) {