summaryrefslogtreecommitdiff
path: root/libavcodec/ptx.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/ptx.c')
-rw-r--r--libavcodec/ptx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ptx.c b/libavcodec/ptx.c
index 77fd19615a..d4cd963e46 100644
--- a/libavcodec/ptx.c
+++ b/libavcodec/ptx.c
@@ -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_RGB555;