Mercurial > libavformat.hg
view asfcrypt.h @ 4106:26bd5d91a2d6 libavformat
Make register_avcodec() call avcodec_init().
This avoids the possibility to use a registered codec without first
initializing libavcodec, which resulted in unexpected behavior.
author | stefano |
---|---|
date | Sun, 14 Dec 2008 20:04:00 +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 */