Blame SOURCES/vorbis-tools-1.4.0-bz1003607.patch

081fb7
From 1fbd20941836aa4df17d0f6b44fef4d655ff5fc2 Mon Sep 17 00:00:00 2001
081fb7
From: Kamil Dudka <kdudka@redhat.com>
081fb7
Date: Tue, 3 Sep 2013 12:28:32 +0200
081fb7
Subject: [PATCH] vcut: fix an off-by-one error in submit_headers_to_stream()
081fb7
081fb7
Bug: https://bugzilla.redhat.com/1003607
081fb7
---
081fb7
 vcut/vcut.c |    2 +-
081fb7
 1 files changed, 1 insertions(+), 1 deletions(-)
081fb7
081fb7
diff --git a/vcut/vcut.c b/vcut/vcut.c
081fb7
index d7ba699..17426b9 100644
081fb7
--- a/vcut/vcut.c
081fb7
+++ b/vcut/vcut.c
081fb7
@@ -178,7 +178,7 @@ static int submit_headers_to_stream(vcut_state *s)
081fb7
 	for(i=0;i<4;i++)
081fb7
 	{
081fb7
 		ogg_packet p;
081fb7
-		if(i < 4)  /* a header packet */
081fb7
+		if(i < 3)  /* a header packet */
081fb7
 		{
081fb7
 			p.bytes = vs->headers[i].length;
081fb7
 			p.packet = vs->headers[i].packet;
081fb7
-- 
081fb7
1.7.1
081fb7