Commit 57045a4c authored by banan's avatar banan

Don't write an empty spdif header in spdif muxers write_header function before actual data starts.

Patch by Elupus.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22814 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent df52165d
......@@ -238,10 +238,6 @@ static int spdif_write_header(AVFormatContext *s)
av_log(s, AV_LOG_ERROR, "codec not supported\n");
return -1;
}
put_le16(s->pb, 0);
put_le16(s->pb, 0);
put_le16(s->pb, 0);
put_le16(s->pb, 0);
return 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