/[amv]/amv.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /amv.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4 by dpavlin, Thu Jul 19 20:49:06 2007 UTC revision 5 by dpavlin, Thu Jul 19 20:53:33 2007 UTC
# Line 53  sub x { Line 53  sub x {
53          hex_dump( $bytes );          hex_dump( $bytes );
54    
55          if ( $bytes eq 'AMV_END_' ) {          if ( $bytes eq 'AMV_END_' ) {
56                  warn "## end of file marker AMV_END_\n";                  warn "> end of file marker AMV_END_\n";
57                  $d->{eof}++;                  $d->{eof}++;
58                  return;                  return;
59          }          }
# Line 75  sub next_part { Line 75  sub next_part {
75          if ( $expected_len ) {          if ( $expected_len ) {
76                  confess "expected $expected_len bytes for $part got $len" if $len != $expected_len;                  confess "expected $expected_len bytes for $part got $len" if $len != $expected_len;
77          }          }
78          printf ">>> %s | %d 0x%x bytes\n", $part, $len, $len;          printf ">> %s - %d 0x%x bytes\n", $part, $len, $len;
79          x($len) if $skip;          x($len) if $skip;
80          return $len;          return $len;
81  }  }

Legend:
Removed from v.4  
changed lines
  Added in v.5

  ViewVC Help
Powered by ViewVC 1.1.26