This results in an unnecessary ~800k allocation with H.264. A nearby callsite uses avcodec_is_open() to avoid this, so do the same when exiting avformat_find_stream_info().
Signed-off-by: Dale Curtis <dalecur...@chromium.org> --- libavformat/demux.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
no_realloc_v1.patch
Description: Binary data
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".