Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 80798 Details for
Bug 118436
mplayer a52 CRC and resampling error patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patches demux_ts.c to get rid of the a52 CRC sound errors
sound.patch (text/plain), 990 bytes, created by
Matthew Schultz
on 2006-02-26 15:15:02 UTC
(
hide
)
Description:
Patches demux_ts.c to get rid of the a52 CRC sound errors
Filename:
MIME Type:
Creator:
Matthew Schultz
Created:
2006-02-26 15:15:02 UTC
Size:
990 bytes
patch
obsolete
>Index: demux_ts.c >=================================================================== >RCS file: /cvsroot/mplayer/main/libmpdemux/demux_ts.c,v >retrieving revision 1.44 >diff -u -r1.44 demux_ts.c >--- demux_ts.c 9 Feb 2006 19:39:51 -0000 1.44 >+++ demux_ts.c 22 Feb 2006 23:06:01 -0000 >@@ -1317,10 +1317,20 @@ > } > else if ((p[0] & 0xF0) == 0x80) > { >+ int l, sub = 0; > mp_msg(MSGT_DEMUX, MSGL_DBG2, "A52 WITH HEADER\n"); >- es->start = p+4; >- es->size = packet_len - 4; >- es->type = AUDIO_A52; >+ es->type = PES_PRIVATE1; >+ for(l = 0; l < packet_len - 1; l++) >+ { >+ if(p[l] == 0x0B && p[l+1] == 0x77) >+ { >+ es->type = AUDIO_A52; >+ sub = (l == 4) ? 4 : 0; >+ break; >+ } >+ } >+ es->start = p + sub; >+ es->size = packet_len - sub; > es->payload_size -= packet_len; > > return 1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 118436
:
79298
|
80798
|
87763
|
87764