Commit 5e784411 authored by Julian Rother's avatar Julian Rother

transcode: Fix input stream check

parent c8b2c61b
......@@ -318,7 +318,7 @@ int main(int argc, char *argv[])
/* Flush */
for (i = 0; i < demux->nb_streams; i ++)
{
if (decs[i])
if (!decs[i] || !srcs[i])
continue;
filtergraph_send(srcs[i], decs[i], 0);
!av_buffersrc_add_frame(srcs[i], 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment