Revision 79396ac6 libavcodec/parser.c

View differences:

libavcodec/parser.c
159 159
        }
160 160
    }
161 161

  
162
    *poutbuf= buf;
162
    /* cast to avoid warning about discarding qualifiers */
163
    *poutbuf= (uint8_t *) buf;
163 164
    *poutbuf_size= buf_size;
164 165
    if(avctx->extradata){
165 166
        if(  (keyframe && (avctx->flags2 & CODEC_FLAG2_LOCAL_HEADER))

Also available in: Unified diff