diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-03-25 23:51:29 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-03-27 11:58:54 +0200 |
commit | 6265f0b4e1978485b8147ce7dbd5bc7533e7a298 (patch) | |
tree | cfc99b60921c54065ca5d05961a3c55700a18e98 /libavformat/segment.c | |
parent | 2e069f6b69475683207ea05deb269f9c532633bb (diff) | |
download | ffmpeg-6265f0b4e1978485b8147ce7dbd5bc7533e7a298.tar.gz |
avformat: Do not search through the AVOption table for a option not in it repeatedly on each packet
This search takes alot of time especially when compared with small packets
46631 decicycles -> 15719 decicycles in read_frame_internal() for amr-nb in 3gp
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/segment.c')
0 files changed, 0 insertions, 0 deletions