Skip to content

Commit

Permalink
import ffmpeg library version 4.1.3
Browse files Browse the repository at this point in the history
package: ffmpeg-4.1.3-win64-dev
  • Loading branch information
ra1nb0w committed May 28, 2019
1 parent 38e1f1d commit efa84ff
Show file tree
Hide file tree
Showing 148 changed files with 30,835 additions and 0 deletions.
Binary file added ffmpeg/bin/avcodec-58.dll
Binary file not shown.
Binary file added ffmpeg/bin/avdevice-58.dll
Binary file not shown.
Binary file added ffmpeg/bin/avfilter-7.dll
Binary file not shown.
Binary file added ffmpeg/bin/avformat-58.dll
Binary file not shown.
Binary file added ffmpeg/bin/avutil-56.dll
Binary file not shown.
Binary file added ffmpeg/bin/ffmpeg.exe
Binary file not shown.
Binary file added ffmpeg/bin/ffplay.exe
Binary file not shown.
Binary file added ffmpeg/bin/ffprobe.exe
Binary file not shown.
Binary file added ffmpeg/bin/postproc-55.dll
Binary file not shown.
Binary file added ffmpeg/bin/swresample-3.dll
Binary file not shown.
Binary file added ffmpeg/bin/swscale-5.dll
Binary file not shown.
36 changes: 36 additions & 0 deletions ffmpeg/include/libavcodec/ac3_parser.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* AC-3 parser prototypes
* Copyright (c) 2003 Fabrice Bellard
* Copyright (c) 2003 Michael Niedermayer
*
* 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 AVCODEC_AC3_PARSER_H
#define AVCODEC_AC3_PARSER_H

#include <stddef.h>
#include <stdint.h>

/**
* Extract the bitstream ID and the frame size from AC-3 data.
*/
int av_ac3_parse_header(const uint8_t *buf, size_t size,
uint8_t *bitstream_id, uint16_t *frame_size);


#endif /* AVCODEC_AC3_PARSER_H */
37 changes: 37 additions & 0 deletions ffmpeg/include/libavcodec/adts_parser.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* 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 AVCODEC_ADTS_PARSER_H
#define AVCODEC_ADTS_PARSER_H

#include <stddef.h>
#include <stdint.h>

#define AV_AAC_ADTS_HEADER_SIZE 7

/**
* Extract the number of samples and frames from AAC data.
* @param[in] buf pointer to AAC data buffer
* @param[out] samples Pointer to where number of samples is written
* @param[out] frames Pointer to where number of frames is written
* @return Returns 0 on success, error code on failure.
*/
int av_adts_header_parse(const uint8_t *buf, uint32_t *samples,
uint8_t *frames);

#endif /* AVCODEC_ADTS_PARSER_H */

0 comments on commit efa84ff

Please sign in to comment.