Also remove "webp:" from log messages. Using the AVCodecContext is enough.
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
... | ... |
@@ -32,7 +32,7 @@ |
32 | 32 |
* Compressed alpha for lossy |
33 | 33 |
* |
34 | 34 |
* @author James Almer <jamrial@gmail.com> |
35 |
- * EXIF metadata |
|
35 |
+ * Exif metadata |
|
36 | 36 |
* |
37 | 37 |
* Unimplemented: |
38 | 38 |
* - Animation |
... | ... |
@@ -1436,21 +1436,21 @@ static int webp_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, |
1436 | 1436 |
} |
1437 | 1437 |
if (!(vp8x_flags & VP8X_FLAG_EXIF_METADATA)) |
1438 | 1438 |
av_log(avctx, AV_LOG_WARNING, |
1439 |
- "EXIF chunk present, but exif bit not set in the " |
|
1439 |
+ "EXIF chunk present, but Exif bit not set in the " |
|
1440 | 1440 |
"VP8X header\n"); |
1441 | 1441 |
|
1442 | 1442 |
s->has_exif = 1; |
1443 | 1443 |
bytestream2_init(&exif_gb, avpkt->data + exif_offset, |
1444 | 1444 |
avpkt->size - exif_offset); |
1445 | 1445 |
if (ff_tdecode_header(&exif_gb, &le, &ifd_offset) < 0) { |
1446 |
- av_log(avctx, AV_LOG_ERROR, "webp: invalid TIFF header " |
|
1447 |
- "in EXIF data\n"); |
|
1446 |
+ av_log(avctx, AV_LOG_ERROR, "invalid TIFF header " |
|
1447 |
+ "in Exif data\n"); |
|
1448 | 1448 |
goto exif_end; |
1449 | 1449 |
} |
1450 | 1450 |
|
1451 | 1451 |
bytestream2_seek(&exif_gb, ifd_offset, SEEK_SET); |
1452 | 1452 |
if (ff_exif_decode_ifd(avctx, &exif_gb, le, 0, &s->exif_metadata) < 0) { |
1453 |
- av_log(avctx, AV_LOG_ERROR, "webp: error decoding EXIF data\n"); |
|
1453 |
+ av_log(avctx, AV_LOG_ERROR, "error decoding Exif data\n"); |
|
1454 | 1454 |
goto exif_end; |
1455 | 1455 |
} |
1456 | 1456 |
|