diff options
Diffstat (limited to 'libavcodec/ptx.c')
-rw-r--r-- | libavcodec/ptx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/ptx.c b/libavcodec/ptx.c index 4e5453e715..fb457f234a 100644 --- a/libavcodec/ptx.c +++ b/libavcodec/ptx.c @@ -60,7 +60,6 @@ static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *data_size, avctx->pix_fmt = PIX_FMT_RGB555; - if (buf_end - buf < offset) return AVERROR_INVALIDDATA; if (offset != 0x2c) |