Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as C by waker ( 16 years ago )
diff --git a/plugins/mpgmad/mpgmad.c b/plugins/mpgmad/mpgmad.c
index a054d37..5f74b11 100644
--- a/plugins/mpgmad/mpgmad.c
+++ b/plugins/mpgmad/mpgmad.c
@@ -387,6 +387,7 @@ cmp3_scan_stream (buffer_t *buffer, int sample) {
 
             if (!strncmp (xing, magic, 4) || !strncmp (info, magic, 4)) {
                 trace ("xing/info frame foundn");
+                buffer->startoffset += packetlength;
                 // read flags
                 uint32_t flags;
                 uint8_t buf[4];

 

Revise this Paste

Your Name: Code Language: