rdt: Check the return value of avformat_open
authorMartin Storsjö <martin@martin.st>
Sun, 6 Nov 2011 21:51:19 +0000 (23:51 +0200)
committerMartin Storsjö <martin@martin.st>
Mon, 7 Nov 2011 09:23:57 +0000 (11:23 +0200)
If it failed, return NULL. This avoids trying to use an
half-initialized RDTDemuxContext.

Signed-off-by: Martin Storsjö <martin@martin.st>

No differences found