[FFmpeg-devel] [PATCH] sdp: fix null pointer dereference with ffserver and h.264

Michael Niedermayer michaelni at gmx.at
Sat Dec 8 03:16:38 CET 2012

On Fri, Nov 30, 2012 at 07:06:03PM -0200, Renato Cunha wrote:
> ---
>  libavformat/sdp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

why is fmt->oformat not set
also there are several similar pieces of code that also do not check
for fmt->oformat

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121208/1e990f91/attachment.asc>

More information about the ffmpeg-devel mailing list