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:
26f2372
)
indent
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 2 Jun 2008 03:10:40 +0000
(
03:10
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 2 Jun 2008 03:10:40 +0000
(
03:10
+0000)
Originally committed as revision 13616 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/parser.c
patch
|
blob
|
history
diff --git
a/libavcodec/parser.c
b/libavcodec/parser.c
index
00356b1
..
c32934d
100644
(file)
--- a/
libavcodec/parser.c
+++ b/
libavcodec/parser.c
@@
-123,8
+123,8
@@
int av_parser_parse(AVCodecParserContext *s,
s->cur_frame_dts[k] = dts;
}
-
if (s->fetch_timestamp){
-
s->fetch_timestamp=0;
+ if (s->fetch_timestamp){
+ s->fetch_timestamp=0;
s->last_pts = s->pts;
s->last_dts = s->dts;
s->dts= s->pts= AV_NOPTS_VALUE;
@@
-150,7
+150,7
@@
int av_parser_parse(AVCodecParserContext *s,
/* offset of the next frame */
s->next_frame_offset = s->cur_offset + index;
-
s->fetch_timestamp=1;
+ s->fetch_timestamp=1;
}
if (index < 0)
index = 0;