[FFmpeg-cvslog] avcodec/jpeglsdec: ask for sample for "oversized image"

Michael Niedermayer git at videolan.org
Wed Apr 9 23:18:06 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Apr  9 23:03:09 2014 +0200| [020600eed13fadde334fa26cfeebdc6809eaf1f9] | committer: Michael Niedermayer

avcodec/jpeglsdec: ask for sample for "oversized image"

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=020600eed13fadde334fa26cfeebdc6809eaf1f9
---

 libavcodec/jpeglsdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/jpeglsdec.c b/libavcodec/jpeglsdec.c
index 9958903..13b6e41 100644
--- a/libavcodec/jpeglsdec.c
+++ b/libavcodec/jpeglsdec.c
@@ -114,7 +114,7 @@ int ff_jpegls_decode_lse(MJpegDecodeContext *s)
         }
         break;
     case 4:
-        av_log(s->avctx, AV_LOG_ERROR, "oversize image not supported\n");
+        avpriv_request_sample(s->avctx, "oversize image");
         return AVERROR(ENOSYS);
     default:
         av_log(s->avctx, AV_LOG_ERROR, "invalid id %d\n", id);



More information about the ffmpeg-cvslog mailing list