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:
c5efef7
)
Mark the first output audio frame as keyframe (separate patch from previous,
author
Ronald S. Bultje
<rsbultje@gmail.com>
Mon, 16 Mar 2009 12:59:18 +0000
(12:59 +0000)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Mon, 16 Mar 2009 12:59:18 +0000
(12:59 +0000)
as requested by Kostya). See "[PATCH] rmdec.c: remove cache access
duplication".
Originally committed as revision 18010 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rmdec.c
patch
|
blob
|
history
diff --git
a/libavformat/rmdec.c
b/libavformat/rmdec.c
index
055abf6
..
f3e51a1
100644
(file)
--- a/
libavformat/rmdec.c
+++ b/
libavformat/rmdec.c
@@
-687,6
+687,10
@@
ff_rm_retrieve_cache (AVFormatContext *s, ByteIOContext *pb,
st->codec->block_align);
}
rm->audio_pkt_cnt--;
+ if ((pkt->pts = ast->audiotimestamp) != AV_NOPTS_VALUE) {
+ ast->audiotimestamp = AV_NOPTS_VALUE;
+ pkt->flags = PKT_FLAG_KEY;
+ } else
pkt->flags = 0;
pkt->stream_index = st->index;