aboutsummaryrefslogtreecommitdiff
path: root/gst-libs/ext/libav/libavcodec/qtrle.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/ext/libav/libavcodec/qtrle.c')
-rw-r--r--gst-libs/ext/libav/libavcodec/qtrle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/ext/libav/libavcodec/qtrle.c b/gst-libs/ext/libav/libavcodec/qtrle.c
index 0c74798..6e7b3c2 100644
--- a/gst-libs/ext/libav/libavcodec/qtrle.c
+++ b/gst-libs/ext/libav/libavcodec/qtrle.c
@@ -407,7 +407,7 @@ static av_cold int qtrle_decode_init(AVCodecContext *avctx)
default:
av_log (avctx, AV_LOG_ERROR, "Unsupported colorspace: %d bits/sample?\n",
avctx->bits_per_coded_sample);
- break;
+ return AVERROR_INVALIDDATA;
}
s->frame.data[0] = NULL;