ff-save: only flush audio if we have an audio stream

parent 3ccb04fe
......@@ -898,6 +898,8 @@ static void flush_audio (GeglProperties *o)
Priv *p = (Priv*)o->user_data;
int got_packet;
if (!p->audio_st)
AVPacket pkt = { 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