changeset 6490:e1716e7b179f libavformat

Fix index_entries pos: It was being set wrong for files with data_offset > 0 Patch by Michael Chinen, mchinen gmail
author cehoyos
date Mon, 27 Sep 2010 22:17:58 +0000
parents 7406dd71c060
children b7f807b4cd88
files utils.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Mon Sep 27 16:10:23 2010 +0000
+++ b/utils.c	Mon Sep 27 22:17:58 2010 +0000
@@ -1159,10 +1159,6 @@
                 }else if(st->need_parsing == AVSTREAM_PARSE_FULL_ONCE){
                     st->parser->flags |= PARSER_FLAG_ONCE;
                 }
-                if(st->parser && (s->iformat->flags & AVFMT_GENERIC_INDEX)){
-                    st->parser->next_frame_offset=
-                    st->parser->cur_offset= st->cur_pkt.pos;
-                }
             }
         }
     }