mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-11-06 05:17:42 +00:00
exr: make message about missing feature more useful
Signed-off-by: Paul B Mahol <onemda@gmail.com>
(cherry picked from commit f5af8d5e76)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
1 parent
9dc14fd3f0
commit
cdcd99eecc
1 file changed
+3
-3
+3
-3
@@ -305,9 +305,9 @@ static int decode_frame(AVCodecContext *avctx,
|
||||
if (!variable_buffer_data_size)
|
||||
return -1;
|
||||
|
||||
switch (*buf) {
|
||||
s->compr = *buf;
|
||||
switch (s->compr) {
|
||||
case EXR_RAW:
|
||||
s->compr = *buf;
|
||||
break;
|
||||
case EXR_RLE:
|
||||
case EXR_ZIP1:
|
||||
@@ -315,7 +315,7 @@ static int decode_frame(AVCodecContext *avctx,
|
||||
case EXR_PIZ:
|
||||
case EXR_B44:
|
||||
default:
|
||||
av_log(avctx, AV_LOG_ERROR, "This type of compression is not supported\n");
|
||||
av_log(avctx, AV_LOG_ERROR, "Compression type %d is not supported\n", s->compr);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user