Re: [FFmpeg-devel] [PATCH] avformat/mov: skip call ff_codec_get_id if possible

2022-04-29 Thread Andreas Rheinhardt
"zhilizhao(赵志立)": > > >> On Apr 19, 2022, at 1:12 PM, Zhao Zhili wrote: >> >> ff_codec_get_id loops over ff_codec_movvideo_tags (which is a large >> array) two times. The result is unused most of the cases. >> --- >> libavformat/mov.c | 4 +--- >> 1 file changed, 1 insertion(+), 3 deletions(-) >>

Re: [FFmpeg-devel] [PATCH] avformat/mov: skip call ff_codec_get_id if possible

2022-04-29 Thread zhilizhao(赵志立)
> On Apr 19, 2022, at 1:12 PM, Zhao Zhili wrote: > > ff_codec_get_id loops over ff_codec_movvideo_tags (which is a large > array) two times. The result is unused most of the cases. > --- > libavformat/mov.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/libavformat/