Guest User

Kurtnoise

a guest
Nov 23rd, 2008
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. Index: src/media_tools/media_import.c
  2. ===================================================================
  3. RCS file: /cvsroot/gpac/gpac/src/media_tools/media_import.c,v
  4. retrieving revision 1.114
  5. diff -u -r1.114 media_import.c
  6. --- src/media_tools/media_import.c 24 Oct 2008 17:55:09 -0000 1.114
  7. +++ src/media_tools/media_import.c 1 Nov 2008 16:41:11 -0000
  8. @@ -5961,7 +5961,6 @@
  9. while (gf_ac3_parser_bs(bs, &hdr, 0)) {
  10. samp->dataLength = hdr.framesize;
  11.  
  12. -
  13. if (import->flags & GF_IMPORT_USE_DATAREF) {
  14. e = gf_isom_add_sample_reference(import->dest, track, di, samp, gf_bs_get_position(bs) );
  15. gf_bs_skip_bytes(bs, samp->dataLength);
  16. @@ -5975,12 +5974,13 @@
  17. }
  18. if (e) goto exit;
  19.  
  20. - gf_set_progress("Importing AAC", done, tot_size);
  21. + gf_set_progress("Importing AC3", done, tot_size);
  22.  
  23. samp->DTS += 1536;
  24. done += samp->dataLength;
  25. if (duration && (samp->DTS > duration)) break;
  26. if (import->flags & GF_IMPORT_DO_ABORT) break;
  27. + if (done > tot_size) break;
  28. }
  29. MP4T_RecomputeBitRate(import->dest, track);
  30. gf_set_progress("Importing AC3", tot_size, tot_size);
  31.  
  32.  
Advertisement
Add Comment
Please, Sign In to add comment