aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/g2meet.c
diff options
context:
space:
mode:
authorVittorio Giovara2015-06-29 23:48:34 +0200
committerVittorio Giovara2015-07-27 15:24:59 +0100
commit059a934806d61f7af9ab3fd9f74994b838ea5eba (patch)
tree119be3b4b7b599563205c350f92e5201424510c8 /libavcodec/g2meet.c
parentdef97856de6021965db86c25a732d78689bd6bb0 (diff)
lavc: Consistently prefix input buffer defines
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec/g2meet.c')
-rw-r--r--libavcodec/g2meet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c
index 21d7bb4da6..85f53e2bbe 100644
--- a/libavcodec/g2meet.c
+++ b/libavcodec/g2meet.c
@@ -294,10 +294,10 @@ static int jpg_decode_data(JPGContext *c, int width, int height,
const int ridx = swapuv ? 2 : 0;
if ((ret = av_reallocp(&c->buf,
- src_size + FF_INPUT_BUFFER_PADDING_SIZE)) < 0)
+ src_size + AV_INPUT_BUFFER_PADDING_SIZE)) < 0)
return ret;
jpg_unescape(src, src_size, c->buf, &unesc_size);
- memset(c->buf + unesc_size, 0, FF_INPUT_BUFFER_PADDING_SIZE);
+ memset(c->buf + unesc_size, 0, AV_INPUT_BUFFER_PADDING_SIZE);
init_get_bits(&gb, c->buf, unesc_size * 8);
width = FFALIGN(width, 16);
@@ -1170,7 +1170,7 @@ static int g2m_init_buffers(G2MContext *c)
c->synth_tile = av_mallocz(c->tile_stride * aligned_height);
c->jpeg_tile = av_mallocz(c->tile_stride * aligned_height);
c->kempf_buf = av_mallocz((c->tile_width + 1) * aligned_height +
- FF_INPUT_BUFFER_PADDING_SIZE);
+ AV_INPUT_BUFFER_PADDING_SIZE);
c->kempf_flags = av_mallocz(c->tile_width * aligned_height);
if (!c->synth_tile || !c->jpeg_tile ||
!c->kempf_buf || !c->kempf_flags)