Merge commit '601d6228c4811d8971a2412a759e1a4ab775ebe8'
* commit '601d6228c4811d8971a2412a759e1a4ab775ebe8': flac: move picture parsing code in a separate file Conflicts: libavformat/Makefile libavformat/flacdec.c See: 1e5bbbfcf303ec3db0c7db30b85855e2e5358aec Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
92b03cf926
@ -138,7 +138,7 @@ OBJS-$(CONFIG_FFMETADATA_MUXER) += ffmetaenc.o
|
|||||||
OBJS-$(CONFIG_FILMSTRIP_DEMUXER) += filmstripdec.o
|
OBJS-$(CONFIG_FILMSTRIP_DEMUXER) += filmstripdec.o
|
||||||
OBJS-$(CONFIG_FILMSTRIP_MUXER) += filmstripenc.o
|
OBJS-$(CONFIG_FILMSTRIP_MUXER) += filmstripenc.o
|
||||||
OBJS-$(CONFIG_FLAC_DEMUXER) += flacdec.o rawdec.o \
|
OBJS-$(CONFIG_FLAC_DEMUXER) += flacdec.o rawdec.o \
|
||||||
flacdec_picture.o \
|
flac_picture.o \
|
||||||
oggparsevorbis.o \
|
oggparsevorbis.o \
|
||||||
vorbiscomment.o
|
vorbiscomment.o
|
||||||
OBJS-$(CONFIG_FLAC_MUXER) += flacenc.o flacenc_header.o \
|
OBJS-$(CONFIG_FLAC_MUXER) += flacenc.o flacenc_header.o \
|
||||||
@ -262,7 +262,7 @@ OBJS-$(CONFIG_OGG_DEMUXER) += oggdec.o \
|
|||||||
oggparsetheora.o \
|
oggparsetheora.o \
|
||||||
oggparsevorbis.o \
|
oggparsevorbis.o \
|
||||||
vorbiscomment.o \
|
vorbiscomment.o \
|
||||||
flacdec_picture.o
|
flac_picture.o
|
||||||
OBJS-$(CONFIG_OGG_MUXER) += oggenc.o \
|
OBJS-$(CONFIG_OGG_MUXER) += oggenc.o \
|
||||||
vorbiscomment.o
|
vorbiscomment.o
|
||||||
OBJS-$(CONFIG_OMA_DEMUXER) += omadec.o pcm.o oma.o
|
OBJS-$(CONFIG_OMA_DEMUXER) += omadec.o pcm.o oma.o
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Raw FLAC demuxer
|
* Raw FLAC picture parser
|
||||||
* Copyright (c) 2001 Fabrice Bellard
|
* Copyright (c) 2001 Fabrice Bellard
|
||||||
*
|
*
|
||||||
* This file is part of FFmpeg.
|
* This file is part of FFmpeg.
|
||||||
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include "libavutil/avassert.h"
|
#include "libavutil/avassert.h"
|
||||||
#include "avformat.h"
|
#include "avformat.h"
|
||||||
#include "flacdec.h"
|
#include "flac_picture.h"
|
||||||
#include "id3v2.h"
|
#include "id3v2.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
@ -146,5 +146,6 @@ fail:
|
|||||||
av_buffer_unref(&data);
|
av_buffer_unref(&data);
|
||||||
av_freep(&desc);
|
av_freep(&desc);
|
||||||
av_freep(&pb);
|
av_freep(&pb);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Raw FLAC demuxer
|
* Raw FLAC picture parser
|
||||||
* Copyright (c) 2001 Fabrice Bellard
|
* Copyright (c) 2001 Fabrice Bellard
|
||||||
*
|
*
|
||||||
* This file is part of FFmpeg.
|
* This file is part of FFmpeg.
|
||||||
@ -19,8 +19,8 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AVFORMAT_FLACDEC_H
|
#ifndef AVFORMAT_FLAC_PICTURE_H
|
||||||
#define AVFORMAT_FLACDEC_H
|
#define AVFORMAT_FLAC_PICTURE_H
|
||||||
|
|
||||||
#include "avformat.h"
|
#include "avformat.h"
|
||||||
|
|
||||||
@ -28,4 +28,4 @@
|
|||||||
|
|
||||||
int ff_flac_parse_picture(AVFormatContext *s, uint8_t *buf, int buf_size);
|
int ff_flac_parse_picture(AVFormatContext *s, uint8_t *buf, int buf_size);
|
||||||
|
|
||||||
#endif /* AVFORMAT_FLACDEC_H */
|
#endif /* AVFORMAT_FLAC_PICTURE_H */
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include "libavcodec/flac.h"
|
#include "libavcodec/flac.h"
|
||||||
#include "avformat.h"
|
#include "avformat.h"
|
||||||
#include "flacdec.h"
|
#include "flac_picture.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
#include "rawdec.h"
|
#include "rawdec.h"
|
||||||
#include "oggdec.h"
|
#include "oggdec.h"
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
#include "libavcodec/get_bits.h"
|
#include "libavcodec/get_bits.h"
|
||||||
#include "libavcodec/vorbis_parser.h"
|
#include "libavcodec/vorbis_parser.h"
|
||||||
#include "avformat.h"
|
#include "avformat.h"
|
||||||
#include "flacdec.h"
|
#include "flac_picture.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
#include "oggdec.h"
|
#include "oggdec.h"
|
||||||
#include "vorbiscomment.h"
|
#include "vorbiscomment.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user