Revision 2efa7fd1 libavcodec/avcodec.h

View differences:

libavcodec/avcodec.h
2611 2611
 */
2612 2612
attribute_deprecated int avcodec_decode_audio(AVCodecContext *avctx, int16_t *samples,
2613 2613
                         int *frame_size_ptr,
2614
                         uint8_t *buf, int buf_size);
2614
                         const uint8_t *buf, int buf_size);
2615 2615

  
2616 2616
/**
2617 2617
 * Decodes an audio frame from \p buf into \p samples.
......
2651 2651
 */
2652 2652
int avcodec_decode_audio2(AVCodecContext *avctx, int16_t *samples,
2653 2653
                         int *frame_size_ptr,
2654
                         uint8_t *buf, int buf_size);
2654
                         const uint8_t *buf, int buf_size);
2655 2655

  
2656 2656
/**
2657 2657
 * Decodes a video frame from \p buf into \p picture.
......
2686 2686
 */
2687 2687
int avcodec_decode_video(AVCodecContext *avctx, AVFrame *picture,
2688 2688
                         int *got_picture_ptr,
2689
                         uint8_t *buf, int buf_size);
2689
                         const uint8_t *buf, int buf_size);
2690 2690

  
2691 2691
/* Decode a subtitle message. Return -1 if error, otherwise return the
2692 2692
 * number of bytes used. If no subtitle could be decompressed,

Also available in: Unified diff