mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
lavc: Consistently prefix input buffer defines
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user