diff options
author | S.N. Hemanth Meenakshisundaram <smeenaks@ucsd.edu> | 2010-08-07 01:15:19 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-08-07 01:15:19 +0000 |
commit | ecc8dada379261b8ad3788336cdc9d15de55b64b (patch) | |
tree | fed81eca2de81e396ca6dff69760539b2b4d99f7 /ffplay.c | |
parent | e11b104a687343993cdffd4b7d1c06fcc6f31be0 (diff) | |
download | ffmpeg-ecc8dada379261b8ad3788336cdc9d15de55b64b.tar.gz |
Rename AVFilterPicRef to AVFilterBufferRef.
The struct is going to be used for storing audio buffer references as
well, and the new name is more generic.
Patch by S.N. Hemanth Meenakshisundaram @smeenaks@ucsd@edu@.
Originally committed as revision 24730 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -105,7 +105,7 @@ typedef struct VideoPicture { enum PixelFormat pix_fmt; #if CONFIG_AVFILTER - AVFilterPicRef *picref; + AVFilterBufferRef *picref; #endif } VideoPicture; @@ -1560,7 +1560,7 @@ typedef struct { static int input_get_buffer(AVCodecContext *codec, AVFrame *pic) { AVFilterContext *ctx = codec->opaque; - AVFilterPicRef *ref; + AVFilterBufferRef *ref; int perms = AV_PERM_WRITE; int i, w, h, stride[4]; unsigned edge; @@ -1609,7 +1609,7 @@ static void input_release_buffer(AVCodecContext *codec, AVFrame *pic) static int input_reget_buffer(AVCodecContext *codec, AVFrame *pic) { - AVFilterPicRef *ref = pic->opaque; + AVFilterBufferRef *ref = pic->opaque; if (pic->data[0] == NULL) { pic->buffer_hints |= FF_BUFFER_HINTS_READABLE; @@ -1656,7 +1656,7 @@ static void input_uninit(AVFilterContext *ctx) static int input_request_frame(AVFilterLink *link) { FilterPriv *priv = link->src->priv; - AVFilterPicRef *picref; + AVFilterBufferRef *picref; int64_t pts = 0; AVPacket pkt; int ret; @@ -1741,7 +1741,7 @@ static int output_query_formats(AVFilterContext *ctx) static int get_filtered_video_frame(AVFilterContext *ctx, AVFrame *frame, int64_t *pts, int64_t *pos) { - AVFilterPicRef *pic; + AVFilterBufferRef *pic; if(avfilter_request_frame(ctx->inputs[0])) return -1; |