diff options
author | David Goldwich <[email protected]> | 2011-09-17 13:50:35 +0200 |
---|---|---|
committer | Anton Khirnov <[email protected]> | 2011-09-19 12:03:56 +0200 |
commit | 63d64228a7f31d534e3bcae87cbd37f4a0ae2dd6 (patch) | |
tree | 79f8affd63f5915b5e2fc6fca718df90c26db190 /libavformat/utils.c | |
parent | 7f9b0ef9a82f6d1c839bfda8c5f498493a99998d (diff) |
lavf: Fix context pointer in av_open_input_stream when avformat_open_input fails
Signed-off-by: David Goldwich <[email protected]>
Signed-off-by: Anton Khirnov <[email protected]>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index ae71763a87..05d4fda52c 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -470,8 +470,8 @@ int av_open_input_stream(AVFormatContext **ic_ptr, goto fail; ic->pb = ic->pb ? ic->pb : pb; // don't leak custom pb if it wasn't set above - *ic_ptr = ic; fail: + *ic_ptr = ic; av_dict_free(&opts); return err; } |