Browse Source

indent

Originally committed as revision 13628 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
44b79c6022
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      libavcodec/parser.c

+ 6
- 6
libavcodec/parser.c View File

@@ -135,12 +135,12 @@ int av_parser_parse(AVCodecParserContext *s,
} else {
/* add a new packet descriptor */
if(pts != AV_NOPTS_VALUE || dts != AV_NOPTS_VALUE){
i = (s->cur_frame_start_index + 1) & (AV_PARSER_PTS_NB - 1);
s->cur_frame_start_index = i;
s->cur_frame_offset[i] = s->cur_offset;
s->cur_frame_end[i] = s->cur_offset + buf_size;
s->cur_frame_pts[i] = pts;
s->cur_frame_dts[i] = dts;
i = (s->cur_frame_start_index + 1) & (AV_PARSER_PTS_NB - 1);
s->cur_frame_start_index = i;
s->cur_frame_offset[i] = s->cur_offset;
s->cur_frame_end[i] = s->cur_offset + buf_size;
s->cur_frame_pts[i] = pts;
s->cur_frame_dts[i] = dts;
}
}



Loading…
Cancel
Save