Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Patch for DVB/apps/scan/scan.c



Hi Guys,

Attached is a patch for scan.c from the latest DVB cvs.

There was a buffer overrun causing the tuning frequency to be shifted
slightly in the transponder parse routine. For example when a frequency
of 205500000 was specified it actually used 205499904. All I did was
bump all the buffer sizes so no magic in there.

In addition when the transponder data is dumped it now uses the
frequency value stored in the transponder struct rather than the value
that was slurped from the string. This is a trival change but looks
neater.

Cheers,

   -Greg

--


begin 666 scan.c.diff
M+2TM('-C86XN8RYO<FEG"3(P,#,M,#DM,C(@,3 Z,C$Z,SDN,# P,# P,# P
M("LP,3 P"BLK*R!S8V%N+F,),C P,RTP.2TR,B Q,#HS-SHS,RXP,# P,# P
M,# @*S Q,# *0$ @+3$S.3$L.2 K,3,Y,2PY($! "B!S=&%T:6,@:6YT('1U
M;F5?:6YI=&EA;" H:6YT(&9R;VYT96YD7V9D+"!C;VYS="!C:&%R("II;FET
M:6%L*0H@>PH@"49)3$4@*FEN:68["BT)8VAA<B!B=69;,3(X73L*( EU;G-I
M9VYE9"!I;G0@9BP@<W(["BT)8VAA<B!P;VQ;,ETL(&9E8ULU72P@<6%M6S==
M+"!B=ULU72P@9F5C,ELU72P@;6]D95LU72P@9W5A<F1;-%TL(&AI97);-5T[
M"BL)8VAA<B!B=69;,C P73L**PEC:&%R('!O;%LR,%TL(&9E8ULR,%TL('%A
M;5LR,%TL(&)W6S(P72P@9F5C,ELR,%TL(&UO9&5;,C!=+"!G=6%R9%LR,%TL
M(&AI97);,C!=.PH@"7-T<G5C="!T<F%N<W!O;F1E<B J=#L*( H@"6EN:68@
M/2!F;W!E;BAI;FET:6%L+" B<B(I.PI 0" M,30Q,BPW("LQ-#$R+#D@0$ *
M( D)"70M/G!A<F%M+FEN=F5R<VEO;B ]('-P96-T<F%L7VEN=F5R<VEO;CL*
M( D)"70M/G!A<F%M+G4N<7!S:RYS>6UB;VQ?<F%T92 ]('-R.PH@"0D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]F9&TN
M:&EE<F%R8VAY7VEN9F]R;6%T:6]N(#T@<W1R,FAI97(H:&EE<BD["BT)"0EI
M;F9O*")I;FET:6%L('1R86YS<&]N9&5R("5U("5D("5D("5D("5D("5D("5D
M("5D7&XB+"!F+ HK"0D):6YF;R@B:6YI=&EA;"!T<F%N<W!O;F1E<B E=2 E
M9" E9" E9" E9" E9" E9" E9%QN(BP**PD)"0D)="T^<&%R86TN9G)E<75E
M;F-Y+ H@"0D)"0ET+3YP87)A;2YU+F]F9&TN8F%N9'=I9'1H+ H@"0D)"0ET
M+3YP87)A;2YU+F]F9&TN8V]D95]R871E7TA0+ H@"0D)"0ET+3YP87)A;2YU
4+F]F9&TN8V]D95]R871E7TQ0+ H`
`
end



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index