probesize is not used for probing the input format, but its documentation claims it does.
Unified · Split
| @@ -1241,9 +1241,15 @@ typedef struct AVFormatContext { · 1240 unmodified lines | ||
| 1241 | 1241 | #define AVFMT_FLAG_AUTO_BSF 0x200000 ///< Add bitstream filters as requested by the muxer |
| 1242 | 1242 | |
| 1243 | 1243 | /** |
| 1244 | − * Maximum size of the data read from input for determining | |
| 1245 | − * the input container format. | |
| 1244 | + * Maximum number of bytes read from input in order to determine stream | |
| 1245 | + * properties. Used when reading the global header and in | |
| 1246 | + * avformat_find_stream_info(). | |
| 1247 | + * | |
| 1246 | 1248 | * Demuxing only, set by the caller before avformat_open_input(). |
| 1249 | + * | |
| 1250 | + * @note this is \e not used for determining the \ref AVInputFormat | |
| 1251 | + * "input format" | |
| 1252 | + * @sa format_probesize | |
| 1247 | 1253 | */ |
| 1248 | 1254 | int64_t probesize; |
| 1249 | 1255 | |
| @@ -1518,9 +1524,13 @@ typedef struct AVFormatContext { · 268 unmodified lines | ||
| 1518 | 1524 | int probe_score; |
| 1519 | 1525 | |
| 1520 | 1526 | /** |
| 1521 | − * number of bytes to read maximally to identify format. | |
| 1522 | − * - encoding: unused | |
| 1523 | − * - decoding: set by user | |
| 1527 | + * Maximum number of bytes read from input in order to identify the | |
| 1528 | + * \ref AVInputFormat "input format". Only used when the format is not set | |
| 1529 | + * explicitly by the caller. | |
| 1530 | + * | |
| 1531 | + * Demuxing only, set by the caller before avformat_open_input(). | |
| 1532 | + * | |
| 1533 | + * @sa probesize | |
| 1524 | 1534 | */ |
| 1525 | 1535 | int format_probesize; |
| 1526 | 1536 | |