Changeset 21859e42c69833bf48b80f851740dbeb28c09c91

Show
Ignore:
Timestamp:
11/09/07 19:21:58 (1 year ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1189531318 +0000
git-parent:

[fe63f4c516d7a328fc743a90ec08e1df725376c0]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1189531318 +0000
Message:

Fix segfault

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/stream_output/sdp.c

    rfe63f4c r21859e4  
    233233    /* RTP payload type map */ 
    234234    if (rtpmap != NULL) 
    235         sdp_AddAttribute ("rtpmap", "%u %s", pt, rtpmap); 
     235        sdp_AddAttribute (sdp, "rtpmap", "%u %s", pt, rtpmap); 
    236236    /* Format parameters */ 
    237237    if (fmtp != NULL) 
    238         sdp_AddAttribute ("fmtp", "%u %s", pt, fmtp); 
     238        sdp_AddAttribute (sdp, "fmtp", "%u %s", pt, fmtp); 
    239239 
    240240    return newsdp;