---
avconv.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/avconv.c b/avconv.c
index b30dad4..d37cc80 100644
--- a/avconv.c
+++ b/avconv.c
@@ -1844,8 +1844,7 @@ static int output_packet(InputStream *ist, int ist_index,
OutputStream *ost_table, int nb_ostreams,
const AVPacket *pkt)
{
- OutputStream *ost;
- int ret = 0, i;
+ int i;
int got_output = 1;
int64_t pkt_pts = AV_NOPTS_VALUE;
@@ -1869,6 +1868,7 @@ static int output_packet(InputStream *ist, int ist_index,
//while we have more to decode or while the decoder did output something
on EOF
while (ist->decoding_needed && (avpkt.size > 0 || (!pkt && got_output))) {
+ int ret = 0;
ist->pts= ist->next_pts;
if(avpkt.size && avpkt.size != pkt->size)
@@ -1916,7 +1916,7 @@ static int output_packet(InputStream *ist, int ist_index,
}
}
for (i = 0; pkt && i < nb_ostreams; i++) {
- ost = &ost_table[i];
+ OutputStream *ost = &ost_table[i];
if (!check_output_constraints(ist, ost) || ost->encoding_needed)
continue;
--
1.7.7
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel