avformat/utils: return impaired streams in av_find_best_stream if only those exist
authorMarton Balint <cus@passwd.hu>
Fri, 2 Jun 2017 19:52:13 +0000 (21:52 +0200)
committerMarton Balint <cus@passwd.hu>
Sun, 4 Jun 2017 13:02:53 +0000 (15:02 +0200)
commit47c699f7be16f58004061408fc4d0676cef0a3b3
tree4018cd0eb0868ac952fa15d1b998ad846f2bfe67
parentfaa5a2181df53b5226f998a20b735798addcd365
avformat/utils: return impaired streams in av_find_best_stream if only those exist

Fixes ticket #6397.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/utils.c