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:
ff08034
)
pngdec: use AVFrame accessor functions
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Mar 2013 21:24:56 +0000
(22:24 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Mar 2013 22:18:22 +0000
(23:18 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pngdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/pngdec.c
b/libavcodec/pngdec.c
index
193e35e
..
36db29e
100644
(file)
--- a/
libavcodec/pngdec.c
+++ b/
libavcodec/pngdec.c
@@
-853,7
+853,7
@@
static int decode_frame(AVCodecContext *avctx,
}
}
-
s->current_picture->metadata = metadata
;
+
av_frame_set_metadata(&s->current_picture, metadata)
;
metadata = NULL;
*picture = *s->current_picture;
*got_frame = 1;