avcodec/exif/exif_add_metadata: add support for SSHORT & SBYTE

No working testcase, this omission was just spoted when the parser apparently went out of
sync.

Reviewed-by; Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2014-04-20 02:58:02 +02:00
parent cd4faed893
commit a94de50ba0
4 changed files with 13 additions and 9 deletions

View File

@@ -121,13 +121,13 @@ int ff_tadd_doubles_metadata(int count, const char *name, const char *sep,
* into the metadata dictionary.
*/
int ff_tadd_shorts_metadata(int count, const char *name, const char *sep,
GetByteContext *gb, int le, AVDictionary **metadata);
GetByteContext *gb, int le, int is_signed, AVDictionary **metadata);
/** Adds count bytes converted to a string
* into the metadata dictionary.
*/
int ff_tadd_bytes_metadata(int count, const char *name, const char *sep,
GetByteContext *gb, int le, AVDictionary **metadata);
GetByteContext *gb, int le, int is_signed, AVDictionary **metadata);
/** Adds a string of count characters
* into the metadata dictionary.