1
From f0bcba238a540793adc514fb84e74282b04d2418 Mon Sep 17 00:00:00 2001
2
From: Laurent Aimar <fenrir@videolan.org>
3
Date: Sat, 17 Sep 2011 23:43:58 +0200
4
Subject: [PATCH 65/70] rv34: Avoid NULL dereference on corrupted bitstream
6
Content-Type: text/plain; charset=UTF-8
7
Content-Transfer-Encoding: 8bit
9
rv34_decode_slice() can return without allocating any pictures.
11
Signed-off-by: Martin Storsjö <martin@martin.st>
12
(cherry picked from commit d0f6ab0298f2309c6104626787ed73416298b019)
14
Signed-off-by: Anton Khirnov <anton@khirnov.net>
16
libavcodec/rv34.c | 2 +-
17
1 files changed, 1 insertions(+), 1 deletions(-)
19
diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c
20
index 910b933..2383903 100644
21
--- a/libavcodec/rv34.c
22
+++ b/libavcodec/rv34.c
23
@@ -1486,7 +1486,7 @@ int ff_rv34_decode_frame(AVCodecContext *avctx,
28
+ if(last && s->current_picture_ptr){
30
r->loop_filter(r, s->mb_height - 1);