OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41db429
)
Set reordered_opaque during context alloc by default to AV_NOPTS_VALUE.
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 1 Feb 2010 00:18:49 +0000
(
00:18
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 1 Feb 2010 00:18:49 +0000
(
00:18
+0000)
This should make sure that pictures allocated prior to avcodec_decode_video()
get AV_NOPTS_VALUE assigned.
Originally committed as revision 21580 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/options.c
patch
|
blob
|
history
diff --git
a/libavcodec/options.c
b/libavcodec/options.c
index
d2d8c0a
..
bb69ba8
100644
(file)
--- a/
libavcodec/options.c
+++ b/
libavcodec/options.c
@@
-442,6
+442,7
@@
void avcodec_get_context_defaults2(AVCodecContext *s, enum CodecType codec_type)
s->palctrl = NULL;
s->reget_buffer= avcodec_default_reget_buffer;
+ s->reordered_opaque= AV_NOPTS_VALUE;
}
AVCodecContext *avcodec_alloc_context2(enum CodecType codec_type){