audio, video: init audio/video format info to UNKNOWN format
authorRené Stadler <rene.stadler@collabora.co.uk>
Fri, 28 Oct 2011 09:11:55 +0000 (11:11 +0200)
committerRené Stadler <rene.stadler@collabora.co.uk>
Fri, 28 Oct 2011 09:24:00 +0000 (11:24 +0200)
commit372cf41a6db1e7b77ccef065d980a13273cbae88
tree3d95468d4ca847b0fa44e74b3094b08885487ee2
parent01854cca801c65a793fecc69e93e7785a1373bbd
audio, video: init audio/video format info to UNKNOWN format

This is to prevent e.g. GST_AUDIO_INFO_FORMAT() from crashing on a NULL pointer
dereference when used with an unset info.
gst-libs/gst/audio/audio.c
gst-libs/gst/video/video.c