diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-03-22 04:26:07 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-03-22 19:03:19 +0100 |
commit | 57c52663b613f86294ded5dccfd15f73ddfe3c44 (patch) | |
tree | cc2717fc2c19ab045511d187fa46d61cf98f9e6b /libavcodec/rawenc.c | |
parent | b7d4eebd3b8df588a7bb3c1fe08d0d982f665993 (diff) | |
download | ffmpeg-57c52663b613f86294ded5dccfd15f73ddfe3c44.tar.gz |
rawenc: : switch to ff_alloc_packet2()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/rawenc.c')
-rw-r--r-- | libavcodec/rawenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rawenc.c b/libavcodec/rawenc.c index cb491e9094..7f5f7d60ff 100644 --- a/libavcodec/rawenc.c +++ b/libavcodec/rawenc.c @@ -49,7 +49,7 @@ static int raw_encode(AVCodecContext *avctx, AVPacket *pkt, if (ret < 0) return ret; - if ((ret = ff_alloc_packet(pkt, ret)) < 0) + if ((ret = ff_alloc_packet2(avctx, pkt, ret)) < 0) return ret; if ((ret = avpicture_layout((const AVPicture *)frame, avctx->pix_fmt, avctx->width, avctx->height, pkt->data, pkt->size)) < 0) |