]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/utils.c
avformat/httpauth: Change enum to int, which is accessed via AVOption as int
[ffmpeg] / libavformat / utils.c
index 6eec7a1530fa07a8de13be3925bb10e75086ddfd..122fc1fdc438403a8790a992516ee2fa87ab0436 100644 (file)
@@ -1597,6 +1597,9 @@ int av_find_default_stream_index(AVFormatContext *s)
                 score += 50;
         }
 
+        if (st->discard != AVDISCARD_ALL)
+            score += 200;
+
         if (score > best_score) {
             best_score = score;
             best_stream = i;