# HG changeset patch # User michael # Date 1212418459 0 # Node ID f855f314fb629b5b70038efaa5ee56989c39b5ff # Parent 7c280a9f0f97fb62b2016419941824297b7757fc indent diff -r 7c280a9f0f97 -r f855f314fb62 parser.c --- a/parser.c Mon Jun 02 14:53:54 2008 +0000 +++ b/parser.c Mon Jun 02 14:54:19 2008 +0000 @@ -135,12 +135,12 @@ } 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; } }