Unified · Split
| @@ -470,8 +470,7 @@ typedef struct AVProbeData { · 469 unmodified lines | ||
| 470 | 470 | /** |
| 471 | 471 | * The muxer/demuxer is experimental and should be used with caution. |
| 472 | 472 | * |
| 473 | − * - demuxers: will not be selected automatically by probing, must be specified | |
| 474 | − * explicitly. | |
| 473 | + * It will not be selected automatically, and must be specified explicitly. | |
| 475 | 474 | */ |
| 476 | 475 | #define AVFMT_EXPERIMENTAL 0x0004 |
| 477 | 476 | #define AVFMT_SHOW_IDS 0x0008 /**< Show format stream IDs numbers. */ |
| @@ -95,6 +95,8 @@ const AVOutputFormat *av_guess_format(const char *short_name, const char *filena · 94 unmodified lines | ||
| 95 | 95 | /* Find the proper file type. */ |
| 96 | 96 | score_max = 0; |
| 97 | 97 | while ((fmt = av_muxer_iterate(&i))) { |
| 98 | + if (fmt->flags & AVFMT_EXPERIMENTAL && !short_name) | |
| 99 | + continue; | |
| 98 | 100 | score = 0; |
| 99 | 101 | if (fmt->name && short_name && av_match_name(short_name, fmt->name)) |
| 100 | 102 | score += 100; |