Revision 3940caad libavformat/internal.h

View differences:

libavformat/internal.h
82 82
/** Get the current time since NTP epoch in microseconds. */
83 83
uint64_t ff_ntp_time(void);
84 84

  
85
/**
86
 * Probe a bytestream to determine the input format. Each time a probe returns
87
 * with a score that is too low, the probe buffer size is increased and another
88
 * attempt is made. When the maximum probe size is reached, the input format
89
 * with the highest score is returned.
90
 *
91
 * @param pb the bytestream to probe
92
 * @param fmt the input format is put here
93
 * @param filename the filename of the stream
94
 * @param logctx the log context
95
 * @param offset the offset within the bytestream to probe from
96
 * @param max_probe_size the maximum probe buffer size (zero for default)
97
 * @return 0 in case of success, a negative value corresponding to an
98
 * AVERROR code otherwise
99
 */
100
int ff_probe_input_buffer(ByteIOContext *pb, AVInputFormat **fmt,
101
                          const char *filename, void *logctx,
102
                          unsigned int offset, unsigned int max_probe_size);
103

  
104 85
#if FF_API_URL_SPLIT
105 86
/**
106 87
 * @deprecated use av_url_split() instead

Also available in: Unified diff