Revision 277a28e8 libavformat/asf.h

View differences:

libavformat/asf.h
227 227

  
228 228
extern AVInputFormat asf_demuxer;
229 229

  
230
/**
231
 * Load a single ASF packet into the demuxer.
232
 * @param s demux context
233
 * @param pb context to read data from
234
 * @returns 0 on success, <0 on error
235
 */
236
int ff_asf_get_packet(AVFormatContext *s, ByteIOContext *pb);
237

  
238
/**
239
 * Parse data from individual ASF packets (which were previously loaded
240
 * with asf_get_packet()).
241
 * @param s demux context
242
 * @param pb context to read data from
243
 * @param pkt pointer to store packet data into
244
 * @returns 0 if data was stored in pkt, <0 on error or 1 if more ASF
245
 *          packets need to be loaded (through asf_get_packet())
246
 */
247
int ff_asf_parse_packet(AVFormatContext *s, ByteIOContext *pb, AVPacket *pkt);
248

  
249 230
#endif /* AVFORMAT_ASF_H */

Also available in: Unified diff