lavf: force single-threaded decoding in avformat_find_stream_info
authorJanne Grunau <janne-libav@jannau.net>
Wed, 18 Jan 2012 19:32:32 +0000 (20:32 +0100)
committerJanne Grunau <janne-libav@jannau.net>
Fri, 20 Jan 2012 08:41:46 +0000 (09:41 +0100)
commit59297ad63dbd7f9a587e742e1d5b0e94ae125fff
treedc75fcdb02bdbd4e38eda776a5d8b4b83ab23a53
parentb89f8774f2778c5aad4633a98e3a12597344730a
lavf: force single-threaded decoding in avformat_find_stream_info

The H.264 decoder needs SPS and PPS for initialization during
multi-threaded decoding. When probed single-threaded SPS and PPS are
copied to extradata and are available for proper initialization of
the decoder before the first frame is decoded.
libavformat/utils.c