summaryrefslogtreecommitdiff
path: root/libavformat/rmdec.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-11-06 23:51:19 +0200
committerMartin Storsjö <martin@martin.st>2011-11-07 11:23:57 +0200
commited307e2659f2db81a434afece905383fdceb9b6e (patch)
tree20cb8f1d13c1c7dbca575307a59595bcc16be06f /libavformat/rmdec.c
parent4b3dc857e416f9ec187cb14fd133226456ba7f91 (diff)
rdt: Check the return value of avformat_open
If it failed, return NULL. This avoids trying to use an half-initialized RDTDemuxContext. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rmdec.c')
0 files changed, 0 insertions, 0 deletions