Mercurial > libavcodec.hg
comparison sonic.c @ 6253:cffdb71f0930 libavcodec
const
author | michael |
---|---|
date | Fri, 01 Feb 2008 14:15:10 +0000 |
parents | c2ab2ac31edb |
children | 48759bfbd073 |
comparison
equal
deleted
inserted
replaced
6252:8f8017bdf4c8 | 6253:cffdb71f0930 |
---|---|
849 return 0; | 849 return 0; |
850 } | 850 } |
851 | 851 |
852 static int sonic_decode_frame(AVCodecContext *avctx, | 852 static int sonic_decode_frame(AVCodecContext *avctx, |
853 void *data, int *data_size, | 853 void *data, int *data_size, |
854 uint8_t *buf, int buf_size) | 854 const uint8_t *buf, int buf_size) |
855 { | 855 { |
856 SonicContext *s = avctx->priv_data; | 856 SonicContext *s = avctx->priv_data; |
857 GetBitContext gb; | 857 GetBitContext gb; |
858 int i, quant, ch, j; | 858 int i, quant, ch, j; |
859 short *samples = data; | 859 short *samples = data; |