[FFmpeg-cvslog] r23677 - trunk/ffmpeg.c
astrange
subversion
Mon Jun 21 06:15:19 CEST 2010
Author: astrange
Date: Mon Jun 21 06:15:18 2010
New Revision: 23677
Log:
ffmpeg: cosmetics: combine two variable declarations
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c Mon Jun 21 06:14:20 2010 (r23676)
+++ trunk/ffmpeg.c Mon Jun 21 06:15:18 2010 (r23677)
@@ -1514,7 +1514,6 @@ static int output_packet(AVInputStream *
void *buffer_to_free;
static unsigned int samples_size= 0;
AVSubtitle subtitle, *subtitle_to_free;
- int got_subtitle;
#if CONFIG_AVFILTER
int frame_available;
#endif
@@ -1609,10 +1608,10 @@ static int output_packet(AVInputStream *
break;
case AVMEDIA_TYPE_SUBTITLE:
ret = avcodec_decode_subtitle2(ist->st->codec,
- &subtitle, &got_subtitle, &avpkt);
+ &subtitle, &got_picture, &avpkt);
if (ret < 0)
goto fail_decode;
- if (!got_subtitle) {
+ if (!got_picture) {
goto discard_packet;
}
subtitle_to_free = &subtitle;
More information about the ffmpeg-cvslog
mailing list