[Protocol-dev] Re: [Nokia-private-dev] CR: ou1cimx1#504978 - Fusion:System error occurs when trying to open a corrupt .sdp file
Jamie Gordon jgordon at real.comok On 8/5/2010 3:15 AM, ext-shashi.merapala at nokia.com wrote: > "Nokia submits this code under the terms of a commercial contribution > agreement with RealNetworks, and I am authorized to contribute this code > under said agreement." > > Modified by: _ext-shashi.merapala at nokia.com_ > <mailto:ext-shashi.merapala at nokia.com> > > Reviewed by: _ashish.as.gupta at nokia.com_ <mailto:ashish.as.gupta at nokia.com> > > Date: 08/05/2010 > > Project: SymbianMmf_wm > > Error Id: ou1cimx1#504978 > > Synopsis: Fusion:System error occurs when trying to open a corrupt .sdp > file > > Overview: When trying to open the corrupted SDP file, it is found > during parsing that the info about the number of streams is incorrect > and hence returns the generic HXR_FAIL error code which is propagated > and displayed as “General: System error”. > > Solution: The error code returned is changed to HXR_INVALID_FILE which > now displays “Unable to play media clip”. > > Diff below. > > Files added: None > > Files modified: /cvsroot/protocol/rtsp/rtspclnt.cpp > > Image size and heap use impact: Negligible > > Module release testing (STIF): Done. Passed. > > Test case(s) added: No > > Memory leak check performed: NA > > Platforms and profiles build verified: helix-client-s60-52-mmf-mdf-dsp > > Platforms and profiles functionality verified: armv5, winscw > > Branch: 210CayS, HEAD, 420Brizo > > Index: rtspclnt.cpp > =================================================================== > RCS file: /cvsroot/protocol/rtsp/rtspclnt.cpp,v > retrieving revision 1.182.2.45 > diff -u -w -r1.182.2.45 rtspclnt.cpp > --- rtspclnt.cpp 7 Jan 2010 18:42:58 -0000 1.182.2.45 > +++ rtspclnt.cpp 4 Aug 2010 07:10:58 -0000 > @@ -10501,7 +10501,7 @@ > else if (nValues <= 1) > { > // error > - rc = HXR_FAIL; > + rc = HXR_INVALID_FILE; > HX_ASSERT("!bad sdp file 1"); > } > else > > >