OSDN Git Service

avconv: move the avcodec_find_decoder() call to add_input_streams().
authorAnton Khirnov <anton@khirnov.net>
Mon, 22 Aug 2011 10:48:06 +0000 (12:48 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 23 Aug 2011 14:50:01 +0000 (16:50 +0200)
commitc74b44de08ffc2853f872c8a5d31526cdbacfc89
treec1b50f585b9978140273498cb9168ada1a8e6da7
parent45ecda855405f102bcc5d8fbadc5f2376e8e9c42
avconv: move the avcodec_find_decoder() call to add_input_streams().

This makes the code simpler to understand, though it results in an
unnecessary call to avcodec_find_decoder() if the stream won't be
decoded.
avconv.c