OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b911d7d
)
sunrastenc: switch to ff_alloc_packet2().
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 22 Mar 2012 14:00:49 +0000
(15:00 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 22 Mar 2012 18:03:22 +0000
(19:03 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/sunrastenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/sunrastenc.c
b/libavcodec/sunrastenc.c
index
43d6b25
..
5961a06
100644
(file)
--- a/
libavcodec/sunrastenc.c
+++ b/
libavcodec/sunrastenc.c
@@
-184,7
+184,7
@@
static int sunrast_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
SUNRASTContext *s = avctx->priv_data;
int ret;
- if ((ret = ff_alloc_packet
(
avpkt, s->size)) < 0)
+ if ((ret = ff_alloc_packet
2(avctx,
avpkt, s->size)) < 0)
return ret;
bytestream2_init_writer(&s->p, avpkt->data, avpkt->size);