mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
indent
Originally committed as revision 13616 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
26f237254d
commit
591569b596
@ -123,8 +123,8 @@ int av_parser_parse(AVCodecParserContext *s,
|
|||||||
s->cur_frame_dts[k] = dts;
|
s->cur_frame_dts[k] = dts;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (s->fetch_timestamp){
|
if (s->fetch_timestamp){
|
||||||
s->fetch_timestamp=0;
|
s->fetch_timestamp=0;
|
||||||
s->last_pts = s->pts;
|
s->last_pts = s->pts;
|
||||||
s->last_dts = s->dts;
|
s->last_dts = s->dts;
|
||||||
s->dts= s->pts= AV_NOPTS_VALUE;
|
s->dts= s->pts= AV_NOPTS_VALUE;
|
||||||
@ -150,7 +150,7 @@ int av_parser_parse(AVCodecParserContext *s,
|
|||||||
|
|
||||||
/* offset of the next frame */
|
/* offset of the next frame */
|
||||||
s->next_frame_offset = s->cur_offset + index;
|
s->next_frame_offset = s->cur_offset + index;
|
||||||
s->fetch_timestamp=1;
|
s->fetch_timestamp=1;
|
||||||
}
|
}
|
||||||
if (index < 0)
|
if (index < 0)
|
||||||
index = 0;
|
index = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user