No testcase
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 9e6c8437761661441d836876934314cb2b8fafe7)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
... | ... |
@@ -44,6 +44,9 @@ static int dvdsub_parse(AVCodecParserContext *s, |
44 | 44 |
{ |
45 | 45 |
DVDSubParseContext *pc = s->priv_data; |
46 | 46 |
|
47 |
+ *poutbuf = buf; |
|
48 |
+ *poutbuf_size = buf_size; |
|
49 |
+ |
|
47 | 50 |
if (pc->packet_index == 0) { |
48 | 51 |
if (buf_size < 2 || AV_RB16(buf) && buf_size < 6) { |
49 | 52 |
if (buf_size) |