diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-06-29 23:48:34 +0200 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-07-27 15:24:59 +0100 |
commit | 059a934806d61f7af9ab3fd9f74994b838ea5eba (patch) | |
tree | 119be3b4b7b599563205c350f92e5201424510c8 /libavformat/tta.c | |
parent | def97856de6021965db86c25a732d78689bd6bb0 (diff) | |
download | ffmpeg-059a934806d61f7af9ab3fd9f74994b838ea5eba.tar.gz |
lavc: Consistently prefix input buffer defines
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavformat/tta.c')
-rw-r--r-- | libavformat/tta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/tta.c b/libavformat/tta.c index bc86a777b3..f5304f31ed 100644 --- a/libavformat/tta.c +++ b/libavformat/tta.c @@ -113,12 +113,12 @@ static int tta_read_header(AVFormatContext *s) st->codec->bits_per_coded_sample = bps; st->codec->extradata_size = avio_tell(s->pb) - start_offset; - if(st->codec->extradata_size+FF_INPUT_BUFFER_PADDING_SIZE <= (unsigned)st->codec->extradata_size){ + if(st->codec->extradata_size+AV_INPUT_BUFFER_PADDING_SIZE <= (unsigned)st->codec->extradata_size){ //this check is redundant as avio_read should fail av_log(s, AV_LOG_ERROR, "extradata_size too large\n"); return -1; } - st->codec->extradata = av_mallocz(st->codec->extradata_size+FF_INPUT_BUFFER_PADDING_SIZE); + st->codec->extradata = av_mallocz(st->codec->extradata_size+AV_INPUT_BUFFER_PADDING_SIZE); if (!st->codec->extradata) { st->codec->extradata_size = 0; return AVERROR(ENOMEM); |