ffprobe: only decode frame if the codec is available
authorStefano Sabatini <stefasab@gmail.com>
Sun, 15 Jul 2012 13:56:02 +0000 (15:56 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Sun, 15 Jul 2012 13:57:11 +0000 (15:57 +0200)
commit5626e812d2c1c202f749824905b70cdb8a845e7b
treefe14db2b526b8c91de0a4818e6d9b1ef34fc85d8
parentfda968aa8febe384038aa0a41df8b8e1bb28c5ae
ffprobe: only decode frame if the codec is available

Fix crash when a stream codec is unknown, in particular fix trac
ticket #1243.
ffprobe.c