diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-06-02 18:54:19 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-06-02 18:54:19 +0400 |
commit | 44b79c6022b000030923e52a36eccff303bdc5e3 (patch) | |
tree | 3c12405312843fe7268dc63df8710d40975d17d2 /libavcodec/parser.c | |
parent | e4e3230ea54ab7c66588d713b13a81fd59e10dcc (diff) |
indent
Originally committed as revision 13628 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/parser.c')
-rw-r--r-- | libavcodec/parser.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/parser.c b/libavcodec/parser.c index 8791c7493d..94399bfbbe 100644 --- a/libavcodec/parser.c +++ b/libavcodec/parser.c @@ -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; } } |