static int sol_read_packet(AVFormatContext *s,

                          AVPacket *pkt)

{

    int ret;



    if (s->pb->eof_reached)

        return AVERROR(EIO);

    ret= av_get_packet(s->pb, pkt, MAX_SIZE);



    pkt->stream_index = 0;



    /* note: we need to modify the packet size here to handle the last

       packet */

    pkt->size = ret;

    return 0;

}
static int sol_read_packet(AVFormatContext *s,

                          AVPacket *pkt)

{

    int ret;



    if (s->pb->eof_reached)

        return AVERROR(EIO);

    ret= av_get_packet(s->pb, pkt, MAX_SIZE);



    pkt->stream_index = 0;



    



    pkt->size = ret;

    return 0;

}
static int FUNC_0(AVFormatContext *VAR_0,

                          AVPacket *VAR_1)

{

    int VAR_2;



    if (VAR_0->pb->eof_reached)

        return AVERROR(EIO);

    VAR_2= av_get_packet(VAR_0->pb, VAR_1, MAX_SIZE);



    VAR_1->stream_index = 0;



    



    VAR_1->size = VAR_2;

    return 0;

}
static int FUNC_0(AVFormatContext *VAR_0,
AVPacket *VAR_1)
{ int VAR_2; if (VAR_0->pb->eof_reached)
return AVERROR(EIO); VAR_2= av_get_packet(VAR_0->pb, VAR_1, MAX_SIZE); VAR_1->stream_index = 0; VAR_1->size = VAR_2; return 0; }