static int au_read_packet(AVFormatContext *s,

                          AVPacket *pkt)

{

    int ret;



    ret= av_get_packet(s->pb, pkt, BLOCK_SIZE *

                       s->streams[0]->codec->channels *

                       av_get_bits_per_sample(s->streams[0]->codec->codec_id) >> 3);

    if (ret < 0)

        return ret;

    pkt->flags &= ~AV_PKT_FLAG_CORRUPT;

    pkt->stream_index = 0;

    return 0;

}

static int au_read_packet(AVFormatContext *s,

                          AVPacket *pkt)

{

    int ret;



    ret= av_get_packet(s->pb, pkt, BLOCK_SIZE *

                       s->streams[0]->codec->channels *

                       av_get_bits_per_sample(s->streams[0]->codec->codec_id) >> 3);

    if (ret < 0)

        return ret;

    pkt->flags &= ~AV_PKT_FLAG_CORRUPT;

    pkt->stream_index = 0;

    return 0;

}

static int FUNC_0(AVFormatContext *VAR_0,

                          AVPacket *VAR_1)

{

    int VAR_2;



    VAR_2= av_get_packet(VAR_0->pb, VAR_1, BLOCK_SIZE *

                       VAR_0->streams[0]->codec->channels *

                       av_get_bits_per_sample(VAR_0->streams[0]->codec->codec_id) >> 3);

    if (VAR_2 < 0)

        return VAR_2;

    VAR_1->flags &= ~AV_PKT_FLAG_CORRUPT;

    VAR_1->stream_index = 0;

    return 0;

}

static int FUNC_0(AVFormatContext *VAR_0,
AVPacket *VAR_1)
{ int VAR_2; VAR_2= av_get_packet(VAR_0->pb, VAR_1, BLOCK_SIZE *
VAR_0->streams[0]->codec->channels *
av_get_bits_per_sample(VAR_0->streams[0]->codec->codec_id) >> 3); if (VAR_2 < 0)
return VAR_2; VAR_1->flags &= ~AV_PKT_FLAG_CORRUPT; VAR_1->stream_index = 0; return 0; }