diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-24 20:52:16 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-29 12:19:47 +0200 |
commit | e40c96513efb069fd189beb64a2265971afb410f (patch) | |
tree | 9280607afbcee14c59c22090b332ff4416cbd9f4 /libavcodec/exif.c | |
parent | 7859e89ff0f9b3e701284230d275c59d8a5d615a (diff) | |
download | ffmpeg-e40c96513efb069fd189beb64a2265971afb410f.tar.gz |
avcodec/exif: print bytes and undefined types as scalar lists
This prevents odd characters from ending in the fate test
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/exif.c')
-rw-r--r-- | libavcodec/exif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/exif.c b/libavcodec/exif.c index ec524a5943..96464261c1 100644 --- a/libavcodec/exif.c +++ b/libavcodec/exif.c @@ -50,7 +50,7 @@ static int exif_add_metadata(AVCodecContext *avctx, int count, int type, case TIFF_DOUBLE : return ff_tadd_doubles_metadata(count, name, sep, gb, le, metadata); case TIFF_SHORT : return ff_tadd_shorts_metadata(count, name, sep, gb, le, metadata); case TIFF_BYTE : - case TIFF_UNDEFINED: + case TIFF_UNDEFINED: return ff_tadd_bytes_metadata(count, name, sep, gb, le, metadata); case TIFF_STRING : return ff_tadd_string_metadata(count, name, gb, le, metadata); case TIFF_SRATIONAL: case TIFF_RATIONAL : return ff_tadd_rational_metadata(count, name, sep, gb, le, metadata); |