Message ID | 20230927131242.1950-12-jamrial@gmail.com |
---|---|
State | New |
Headers | show |
Series | AVCodecContext and AVCodecParameters side data | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
Quoting James Almer (2023-09-27 15:12:42) > This is no longer needed as the side data is available for decoders in the > AVCodecContext. > > Signed-off-by: James Almer <jamrial@gmail.com> > --- > fftools/ffplay.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/fftools/ffplay.c b/fftools/ffplay.c > index e29b0ad0f9..87e04226c9 100644 > --- a/fftools/ffplay.c > +++ b/fftools/ffplay.c > @@ -2794,8 +2794,6 @@ static int read_thread(void *arg) > if (genpts) > ic->flags |= AVFMT_FLAG_GENPTS; > > - av_format_inject_global_side_data(ic); Are you planning to remove this function entirely?
Quoting Anton Khirnov (2023-10-03 12:11:52) > Quoting James Almer (2023-09-27 15:12:42) > > This is no longer needed as the side data is available for decoders in the > > AVCodecContext. > > > > Signed-off-by: James Almer <jamrial@gmail.com> > > --- > > fftools/ffplay.c | 2 -- > > 1 file changed, 2 deletions(-) > > > > diff --git a/fftools/ffplay.c b/fftools/ffplay.c > > index e29b0ad0f9..87e04226c9 100644 > > --- a/fftools/ffplay.c > > +++ b/fftools/ffplay.c > > @@ -2794,8 +2794,6 @@ static int read_thread(void *arg) > > if (genpts) > > ic->flags |= AVFMT_FLAG_GENPTS; > > > > - av_format_inject_global_side_data(ic); > > Are you planning to remove this function entirely? Oh, I didn't notice it's being deprecated in an earlier patch. Nevermind then.
diff --git a/fftools/ffplay.c b/fftools/ffplay.c index e29b0ad0f9..87e04226c9 100644 --- a/fftools/ffplay.c +++ b/fftools/ffplay.c @@ -2794,8 +2794,6 @@ static int read_thread(void *arg) if (genpts) ic->flags |= AVFMT_FLAG_GENPTS; - av_format_inject_global_side_data(ic); - if (find_stream_info) { AVDictionary **opts; int orig_nb_streams = ic->nb_streams;
This is no longer needed as the side data is available for decoders in the AVCodecContext. Signed-off-by: James Almer <jamrial@gmail.com> --- fftools/ffplay.c | 2 -- 1 file changed, 2 deletions(-)