OSDN Git Service

sdp: Check that fmt->oformat is non-null before accessing it
authorMartin Storsjö <martin@martin.st>
Fri, 3 Jan 2014 13:47:02 +0000 (15:47 +0200)
committerMartin Storsjö <martin@martin.st>
Sat, 4 Jan 2014 23:33:46 +0000 (01:33 +0200)
commit82b9799bb211ecd117171115e4a8b832c4942314
tree95db997545676cb4e68fe1349c1f21e6a605b22f
parent9d18a7d3ec09d6d933d648570643fde924aa391a
sdp: Check that fmt->oformat is non-null before accessing it

This avoids crashes when avserver tries to create an SDP, since
d77f4af.

CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/sdp.c