[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] av_ff_common: fix undefined var in astream fallback

From: Eric Wong
Subject: [PATCH] av_ff_common: fix undefined var in astream fallback
Date: Fri, 30 Aug 2013 06:54:47 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

This is reproducible on a video file with a mono audio stream
when attempting playback in stereo.
 lib/dtas/source/av_ff_common.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/dtas/source/av_ff_common.rb b/lib/dtas/source/av_ff_common.rb
index bcb8a0a..2ae8d69 100644
--- a/lib/dtas/source/av_ff_common.rb
+++ b/lib/dtas/source/av_ff_common.rb
@@ -81,7 +81,7 @@ def amap_fallback
       as or next
       warn "no suitable audio stream in address@hidden, trying stream=#{index}"
-      return "-map 0:#{i}"
+      return "-map 0:#{index}"
     raise "BUG: no audio stream in address@hidden"
Eric Wong

reply via email to

[Prev in Thread] Current Thread [Next in Thread]