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
release/0.6
Reimar Döffinger 16 years ago
parent a13e687034
commit b02316146b
  1. 1
      libavcodec/pgssubdec.c

@ -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…
Cancel
Save