Originally committed as revision 13540 to svn://svn.ffmpeg.org/ffmpeg/trunk
break;
case HTTPSTATE_SEND_DATA:
/* find a new packet */
- {
- AVPacket pkt;
-
/* read a packet from the input stream */
if (c->stream->feed)
ffm_set_write_index(c->fmt_in,
/* We have timed out */
c->state = HTTPSTATE_SEND_DATA_TRAILER;
else {
+ AVPacket pkt;
redo:
if (av_read_frame(c->fmt_in, &pkt) < 0) {
if (c->stream->feed && c->stream->feed->feed_opened) {
av_free_packet(&pkt);
}
}
- }
break;
default:
case HTTPSTATE_SEND_DATA_TRAILER: