[FFmpeg-devel] [Read EXIF metadata 1/5] Refactor TIFF tag related functions to share the code.

Michael Niedermayer michaelni at gmx.at
Fri Aug 2 03:08:21 CEST 2013


On Tue, Jul 30, 2013 at 08:32:40PM +0200, Thilo Borgmann wrote:
> ---
>  libavcodec/tiff.c |  134 +++++++++++++++++++++++++++++------------------------
>  libavcodec/tiff.h |   15 ++++++
>  2 files changed, 89 insertions(+), 60 deletions(-)
> 
> diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
> index fdfa8f2..0076be3 100644
> --- a/libavcodec/tiff.c
> +++ b/libavcodec/tiff.c
> @@ -70,13 +70,13 @@ typedef struct TiffContext {
>      TiffGeoTag *geotags;
>  } TiffContext;
>  -static unsigned tget_short(GetByteContext *gb, int le)
> +unsigned tget_short(GetByteContext *gb, int le)
>  {
>      unsigned v = le ? bytestream2_get_le16(gb) : bytestream2_get_be16(gb);
>      return v;
>  }
>  -static unsigned tget_long(GetByteContext *gb, int le)
> +unsigned tget_long(GetByteContext *gb, int le)
>  {
>      unsigned v = le ? bytestream2_get_le32(gb) : bytestream2_get_be32(gb);
>      return v;

it appears that this patch is mangled somehow
git says
fatal: corrupt patch at line 24

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

What does censorship reveal? It reveals fear. -- Julian Assange
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130802/e3223fac/attachment.asc>


More information about the ffmpeg-devel mailing list