diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-06-30 13:45:10 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-06-30 13:47:45 +0200 |
commit | 742b9617698f189e5bd911a600e6547b21bf6699 (patch) | |
tree | 64093b7c8495040a109980116f111611002229a4 /libavcodec/ra144dec.c | |
parent | 674d8a9629609a17fd6916164556cb012d6e6a1c (diff) | |
download | ffmpeg-742b9617698f189e5bd911a600e6547b21bf6699.tar.gz |
Rename constant FRAMESIZE in ra144 codec as FRAME_SIZE.
The aix header sys/mstsave.h defines FRAMESIZE as _FRAMESIZE.
Diffstat (limited to 'libavcodec/ra144dec.c')
-rw-r--r-- | libavcodec/ra144dec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/ra144dec.c b/libavcodec/ra144dec.c index 63f77e0f90..9969fd87b5 100644 --- a/libavcodec/ra144dec.c +++ b/libavcodec/ra144dec.c @@ -76,7 +76,7 @@ static int ra144_decode_frame(AVCodecContext * avctx, void *data, RA144Context *ractx = avctx->priv_data; GetBitContext gb; - if (buf_size < FRAMESIZE) { + if (buf_size < FRAME_SIZE) { av_log(avctx, AV_LOG_ERROR, "Frame too small (%d bytes). Truncated file?\n", buf_size); *got_frame_ptr = 0; @@ -89,7 +89,7 @@ static int ra144_decode_frame(AVCodecContext * avctx, void *data, return ret; samples = (int16_t *)frame->data[0]; - init_get_bits(&gb, buf, FRAMESIZE * 8); + init_get_bits(&gb, buf, FRAME_SIZE * 8); for (i = 0; i < LPC_ORDER; i++) lpc_refl[i] = ff_lpc_refl_cb[i][get_bits(&gb, sizes[i])]; @@ -122,7 +122,7 @@ static int ra144_decode_frame(AVCodecContext * avctx, void *data, *got_frame_ptr = 1; - return FRAMESIZE; + return FRAME_SIZE; } AVCodec ff_ra_144_decoder = { |