diff options
author | James Almer <jamrial@gmail.com> | 2017-10-23 23:39:54 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-10-26 00:45:49 -0300 |
commit | ae100046ca32b0b83031a60d0c3cdfc5ceb9f874 (patch) | |
tree | 0722e781f4d58f08136bc73f37681c83e3303bb4 /libavcodec/webp.c | |
parent | 6bd665b7c5798803366b877903fa3bce7f129d05 (diff) | |
download | ffmpeg-ae100046ca32b0b83031a60d0c3cdfc5ceb9f874.tar.gz |
avcodec/exif: remove GetByteContext usage from avpriv_exif_decode_ifd()
This prevents potential ABI issues with GetByteContext.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/webp.c')
-rw-r--r-- | libavcodec/webp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/webp.c b/libavcodec/webp.c index efa864a6f1..c8475faa2d 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c @@ -1504,7 +1504,7 @@ static int webp_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, } bytestream2_seek(&exif_gb, ifd_offset, SEEK_SET); - if (avpriv_exif_decode_ifd(avctx, &exif_gb, le, 0, &exif_metadata) < 0) { + if (ff_exif_decode_ifd(avctx, &exif_gb, le, 0, &exif_metadata) < 0) { av_log(avctx, AV_LOG_ERROR, "error decoding Exif data\n"); goto exif_end; } |