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 --- libavformat/demux.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)