OSDN Git Service

examples/demuxing_decoding: set stream_idx in open_codec_context only if no error...
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sat, 31 Jan 2015 20:11:38 +0000 (21:11 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 31 Jan 2015 20:54:36 +0000 (21:54 +0100)
commit2a3b7a55b51116c968fc32d4b6a2f7cc35e677f2
tree87b3ad8684d7360e91200f49f2c06e4e60599180
parentb80106169ab16c31e27ea464ca62b805b205d61d
examples/demuxing_decoding: set stream_idx in open_codec_context only if no error occured

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc/examples/demuxing_decoding.c