Revision 277a28e8 libavformat/asfdec.c

View differences:

libavformat/asfdec.c
582 582
    default: var = defval; break; \
583 583
    }
584 584

  
585
int ff_asf_get_packet(AVFormatContext *s, ByteIOContext *pb)
585
/**
586
 * Load a single ASF packet into the demuxer.
587
 * @param s demux context
588
 * @param pb context to read data from
589
 * @returns 0 on success, <0 on error
590
 */
591
static int ff_asf_get_packet(AVFormatContext *s, ByteIOContext *pb)
586 592
{
587 593
    ASFContext *asf = s->priv_data;
588 594
    uint32_t packet_length, padsize;
......
726 732
    return 0;
727 733
}
728 734

  
729
int ff_asf_parse_packet(AVFormatContext *s, ByteIOContext *pb, AVPacket *pkt)
735
/**
736
 * Parse data from individual ASF packets (which were previously loaded
737
 * with asf_get_packet()).
738
 * @param s demux context
739
 * @param pb context to read data from
740
 * @param pkt pointer to store packet data into
741
 * @returns 0 if data was stored in pkt, <0 on error or 1 if more ASF
742
 *          packets need to be loaded (through asf_get_packet())
743
 */
744
static int ff_asf_parse_packet(AVFormatContext *s, ByteIOContext *pb, AVPacket *pkt)
730 745
{
731 746
    ASFContext *asf = s->priv_data;
732 747
    ASFStream *asf_st = 0;

Also available in: Unified diff