diff options
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/vfwcap.c | 2 | ||||
-rw-r--r-- | libavdevice/xcbgrab.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c index 5e2ba844ef..154f550b00 100644 --- a/libavdevice/vfwcap.c +++ b/libavdevice/vfwcap.c @@ -392,7 +392,7 @@ static int vfw_read_header(AVFormatContext *s) codec->codec_id = AV_CODEC_ID_RAWVIDEO; if(biCompression == BI_RGB) { codec->bits_per_coded_sample = biBitCount; - codec->extradata = av_malloc(9 + FF_INPUT_BUFFER_PADDING_SIZE); + codec->extradata = av_malloc(9 + AV_INPUT_BUFFER_PADDING_SIZE); if (codec->extradata) { codec->extradata_size = 9; memcpy(codec->extradata, "BottomUp", 9); diff --git a/libavdevice/xcbgrab.c b/libavdevice/xcbgrab.c index b539388429..356518ae5f 100644 --- a/libavdevice/xcbgrab.c +++ b/libavdevice/xcbgrab.c @@ -227,7 +227,7 @@ static int xcbgrab_frame_shm(AVFormatContext *s, AVPacket *pkt) xcb_shm_get_image_reply_t *img; xcb_drawable_t drawable = c->screen->root; uint8_t *data; - int size = c->frame_size + FF_INPUT_BUFFER_PADDING_SIZE; + int size = c->frame_size + AV_INPUT_BUFFER_PADDING_SIZE; int id = shmget(IPC_PRIVATE, size, IPC_CREAT | 0777); xcb_generic_error_t *e = NULL; |