summaryrefslogtreecommitdiff
path: root/libavfilter/libmpcodecs
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-16 23:48:16 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-16 23:54:10 +0100
commit0ee905e243078cd4dfb3afa32777129aeee3bddb (patch)
tree78bafb0b5626836d18d158139b71d0e6b73780a2 /libavfilter/libmpcodecs
parent571a99de186eac69ed0d6b0eaaaa983cae30765a (diff)
parent5b9c3b4505206143d85398c1410949319fa1180f (diff)
Merge commit '5b9c3b4505206143d85398c1410949319fa1180f'
* commit '5b9c3b4505206143d85398c1410949319fa1180f': Replace all instances of avcodec_alloc_frame() with av_frame_alloc(). Conflicts: doc/examples/decoding_encoding.c doc/examples/muxing.c ffmpeg.c libavcodec/alacenc.c libavcodec/libopenjpegenc.c libavcodec/libvpxenc.c libavcodec/pcm.c libavcodec/xbmenc.c libavcodec/xwdenc.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/libmpcodecs')
-rw-r--r--libavfilter/libmpcodecs/vf_uspp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/libmpcodecs/vf_uspp.c b/libavfilter/libmpcodecs/vf_uspp.c
index 54cc0f9e11..1fb252386c 100644
--- a/libavfilter/libmpcodecs/vf_uspp.c
+++ b/libavfilter/libmpcodecs/vf_uspp.c
@@ -245,8 +245,8 @@ static int config(struct vf_instance *vf,
av_dict_free(&opts);
assert(avctx_enc->codec);
}
- vf->priv->frame= avcodec_alloc_frame();
- vf->priv->frame_dec= avcodec_alloc_frame();
+ vf->priv->frame= av_frame_alloc();
+ vf->priv->frame_dec= av_frame_alloc();
vf->priv->outbuf_size= (width + BLOCK)*(height + BLOCK)*10;
vf->priv->outbuf= malloc(vf->priv->outbuf_size);