Mercurial > libavformat.hg
view asfcrypt.h @ 6143:66b74fc6eeb9 libavformat
RTSP: Clean up rtsp_hd on failure
Since rtsp_hd isn't assigned to rt->rtsp_hd until after the setup phase,
the initialized URLContext could be leaked on failures.
author | mstorsjo |
---|---|
date | Fri, 18 Jun 2010 17:54:56 +0000 |
parents | 1b6245500d8c |
children |
line wrap: on
line source
/* * ASF decryption * Copyright (c) 2007 Reimar Doeffinger * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef AVFORMAT_ASFCRYPT_H #define AVFORMAT_ASFCRYPT_H #include <inttypes.h> void ff_asfcrypt_dec(const uint8_t key[20], uint8_t *data, int len); #endif /* AVFORMAT_ASFCRYPT_H */