Originally committed as revision 23677 to svn://svn.ffmpeg.org/ffmpeg/trunk
void *buffer_to_free;
static unsigned int samples_size= 0;
AVSubtitle subtitle, *subtitle_to_free;
void *buffer_to_free;
static unsigned int samples_size= 0;
AVSubtitle subtitle, *subtitle_to_free;
#if CONFIG_AVFILTER
int frame_available;
#endif
#if CONFIG_AVFILTER
int frame_available;
#endif
break;
case AVMEDIA_TYPE_SUBTITLE:
ret = avcodec_decode_subtitle2(ist->st->codec,
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 (ret < 0)
goto fail_decode;
goto discard_packet;
}
subtitle_to_free = &subtitle;
goto discard_packet;
}
subtitle_to_free = &subtitle;