OSDN Git Service

Merge commit '601d6228c4811d8971a2412a759e1a4ab775ebe8'
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Oct 2013 07:34:51 +0000 (09:34 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Oct 2013 07:37:21 +0000 (09:37 +0200)
* 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>
1  2 
libavformat/Makefile
libavformat/flac_picture.c
libavformat/flac_picture.h
libavformat/flacdec.c
libavformat/oggparsevorbis.c

@@@ -261,8 -218,7 +261,8 @@@ OBJS-$(CONFIG_OGG_DEMUXER
                                              oggparsespeex.o  \
                                              oggparsetheora.o \
                                              oggparsevorbis.o \
 -                                            vorbiscomment.o
 +                                            vorbiscomment.o  \
-                                             flacdec_picture.o
++                                            flac_picture.o
  OBJS-$(CONFIG_OGG_MUXER)                 += oggenc.o \
                                              vorbiscomment.o
  OBJS-$(CONFIG_OMA_DEMUXER)               += omadec.o pcm.o oma.o
@@@ -1,10 -1,9 +1,10 @@@
  /*
-  * Raw FLAC demuxer
+  * Raw FLAC picture parser
 + * Copyright (c) 2001 Fabrice Bellard
   *
 - * This file is part of Libav.
 + * This file is part of FFmpeg.
   *
 - * Libav is free software; you can redistribute it and/or
 + * 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.
@@@ -19,9 -18,8 +19,9 @@@
   * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
   */
  
 +#include "libavutil/avassert.h"
  #include "avformat.h"
- #include "flacdec.h"
+ #include "flac_picture.h"
  #include "id3v2.h"
  #include "internal.h"
  
@@@ -1,10 -1,9 +1,10 @@@
  /*
-  * Raw FLAC demuxer
+  * Raw FLAC picture parser
 + * Copyright (c) 2001 Fabrice Bellard
   *
 - * This file is part of Libav.
 + * This file is part of FFmpeg.
   *
 - * Libav is free software; you can redistribute it and/or
 + * 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.
@@@ -24,8 -23,6 +24,8 @@@
  
  #include "avformat.h"
  
 +#define RETURN_ERROR(code) do { ret = (code); goto fail; } while (0)
 +
  int ff_flac_parse_picture(AVFormatContext *s, uint8_t *buf, int buf_size);
  
- #endif /* AVFORMAT_FLACDEC_H */
+ #endif /* AVFORMAT_FLAC_PICTURE_H */
Simple merge
@@@ -32,7 -31,6 +32,7 @@@
  #include "libavcodec/get_bits.h"
  #include "libavcodec/vorbis_parser.h"
  #include "avformat.h"
- #include "flacdec.h"
++#include "flac_picture.h"
  #include "internal.h"
  #include "oggdec.h"
  #include "vorbiscomment.h"