mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Apply r19642 also pgssubdec:
Make sure AVSubtitle is initialized, memset it to 0. Originally committed as revision 19706 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a13e687034
commit
b02316146b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user