[Protocol-dev] CR: ou1cimx1#504978 - Fusion:System error occurs when trying to open a corrupt .sdp file

[Protocol-dev] CR: ou1cimx1#504978 - Fusion:System error occurs when trying to open a corrupt .sdp file

ext-shashi.merapala at nokia.com ext-shashi.merapala at nokia.com
Thu Aug 5 02:15:36 PST 2010


"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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.helixcommunity.org/pipermail/protocol-dev/attachments/20100805/b4759dc6/attachment.html


More information about the Protocol-dev mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.