view asfcrypt.h @ 4424:c6e762f417b3 libavformat

Increase the number of packets required to identify as MPEG PES to keep from identifying MP3 files with padding or garbage at the beginning.
author alexc
date Mon, 09 Feb 2009 01:46:01 +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 */