Mercurial > mplayer.hg
changeset 14996:576b810a034d
100l to oded.. edl was causing the decoder to get a first broken packet
author | rfelker |
---|---|
date | Wed, 23 Mar 2005 23:29:54 +0000 |
parents | 0ac4446da7eb |
children | e450f165590d |
files | mencoder.c |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mencoder.c Wed Mar 23 21:39:15 2005 +0000 +++ b/mencoder.c Wed Mar 23 23:29:54 2005 +0000 @@ -1330,12 +1330,13 @@ if (curfile && end_at_type == END_AT_TIME) end_at += mux_v->timer; #ifdef USE_EDL +if (edl_records) free_edl(edl_records); +next_edl_record = edl_records = NULL; +edl_muted = 0; +edl_seeking = 1; +edl_skip = -1; if (edl_filename) { - if (edl_records) free_edl(edl_records); next_edl_record = edl_records = edl_parse_file(); - edl_muted = 0; - edl_seeking = 1; - edl_skip = -1; } #endif