Commit 684a9f13 authored by reimar's avatar reimar

Apply r19642 also pgssubdec:

Make sure AVSubtitle is initialized, memset it to 0.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19706 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f908bef9
......@@ -343,6 +343,7 @@ static int display_end_segment(AVCodecContext *avctx, void *data,
* not been cleared by a subsequent empty display command.
*/
memset(sub, 0, sizeof(*sub));
sub->start_display_time = 0;
sub->end_display_time = 20000;
sub->format = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment