Revision 89550b2d

View differences:

libavcodec/mpegaudio_parser.c
186 186
        if(s->frame_size > 0 && buf_ptr - buf == s->inbuf_ptr - s->inbuf
187 187
           && buf_size + buf_ptr - buf >= s->frame_size){
188 188
            if(s->header_count > 0){
189
                *poutbuf = buf;
189
                *poutbuf = (uint8_t *)buf;
190 190
                *poutbuf_size = s->frame_size;
191 191
            }
192 192
            buf_ptr = buf + s->frame_size;

Also available in: Unified diff