diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-07-16 09:47:55 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-16 12:18:30 +0200 |
commit | 8dad213143e34b477f034ada4addf2ed2b1c983d (patch) | |
tree | 9bc4101735fa4a55d58003abf00f662b09d76c87 /libavcodec/webp.c | |
parent | 7aafac976fe2806c9519d4154b5f0d5b6767fbe2 (diff) | |
download | ffmpeg-8dad213143e34b477f034ada4addf2ed2b1c983d.tar.gz |
lavc: Add properties field to AVCodecContext.
The new field can hold information about losslessness and closed captions for now.
Diffstat (limited to 'libavcodec/webp.c')
-rw-r--r-- | libavcodec/webp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 723a84769b..8caa6a2c7f 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c @@ -1417,6 +1417,7 @@ static int webp_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, chunk_size, 0); if (ret < 0) return ret; + avctx->properties |= FF_CODEC_PROPERTY_LOSSLESS; } bytestream2_skip(&gb, chunk_size); break; |