]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ptx.c
Merge commit 'f3298f12997eb4b7ad203766f768f92e3dd72a2a'
[ffmpeg] / libavcodec / ptx.c
index 91231a8baad0cc66f9332bfb99d9504de8e2deb7..720dad1b9436b0a52400816fbf7c601d95372fbf 100644 (file)
@@ -57,7 +57,7 @@ static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
 
     if (bytes_per_pixel != 2) {
         av_log_ask_for_sample(avctx, "Image format is not RGB15.\n");
-        return -1;
+        return AVERROR_PATCHWELCOME;
     }
 
     avctx->pix_fmt = AV_PIX_FMT_BGR555LE;