avformat_close_input handles freeing codec context
avformat_close_input handles freeing codec context

scanner-research/scanner,scanner-research/scanner,scanner-research/scanner,scanner-research/scanner