Skip to content
Snippets Groups Projects
Commit 5e784411 authored by Julian Rother's avatar Julian Rother
Browse files

transcode: Fix input stream check

parent c8b2c61b
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment