Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-10-27 13:02:26 +0400
committerAnton Khirnov <anton@khirnov.net>2013-10-31 23:14:15 +0400
commit58c6239e852f525fc0afa3ab689e860ea3943913 (patch)
tree2a74727d3654a51bd0fdf08b7c077170f63478eb /libavcodec/g2meet.c
parentec7063005ee67c0b4d4b83aa5118dd22ad1094e8 (diff)
g2meet: stop using deprecated avcodec_set_dimensions
Diffstat (limited to 'libavcodec/g2meet.c')
-rw-r--r--libavcodec/g2meet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c
index e7743e7e9f..0b4a8b718f 100644
--- a/libavcodec/g2meet.c
+++ b/libavcodec/g2meet.c
@@ -702,7 +702,7 @@ static int g2m_decode_frame(AVCodecContext *avctx, void *data,
goto header_fail;
}
if (c->width != avctx->width || c->height != avctx->height)
- avcodec_set_dimensions(avctx, c->width, c->height);
+ ff_set_dimensions(avctx, c->width, c->height);
c->compression = bytestream2_get_be32(&bc);
if (c->compression != 2 && c->compression != 3) {
av_log(avctx, AV_LOG_ERROR,