summaryrefslogtreecommitdiffstats
path: root/libhb/decsub.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-11-11 17:20:03 +0000
committerjstebbins <[email protected]>2008-11-11 17:20:03 +0000
commit507d870e33c46a7186c647a6d53288123fc60c74 (patch)
tree8c426197231d90644ddc4d0e4df8c3849ab6373b /libhb/decsub.c
parent1111f7b15abdea2dea8f242c355fee9e77978ca0 (diff)
fix pmt processing
there were 2 problems 1. when the program list in the pat contains a network PID, the pmt parsing code doesn't properly skip this entry. this causes attempts to interpret a pat as a pmt since the pid entry in the table is left initialized to 0. 2. pmt parsing always waits till the start of the second pmt section before parsing the first. if for some reason there were only one pmt in the stream, it would never parse the pmt. I've changed it to parse the pmt as soon as all the necessary bytes are collected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1916 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decsub.c')
0 files changed, 0 insertions, 0 deletions