[vlc-commits] contrib: ffmpeg: fix unpacking error handling

Rémi Denis-Courmont git at videolan.org
Tue Feb 21 18:41:24 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb 21 19:24:06 2017 +0200| [20a26f418f36323f59c1158d157cca0bc962647d] | committer: Rémi Denis-Courmont

contrib: ffmpeg: fix unpacking error handling

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=20a26f418f36323f59c1158d157cca0bc962647d
---

 contrib/src/ffmpeg/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index b84a924..79f4c59 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -225,7 +225,7 @@ $(TARBALLS)/ffmpeg-$(FFMPEG_BASENAME).tar.xz:
 ffmpeg: ffmpeg-$(FFMPEG_BASENAME).tar.xz .sum-ffmpeg
 	rm -Rf $@ $@-$(FFMPEG_BASENAME)
 	mkdir -p $@-$(FFMPEG_BASENAME)
-	$(XZCAT) "$<" | (cd $@-$(FFMPEG_BASENAME) && tar xv --strip-components=1)
+	tar xvJf "$<" --strip-components=1 -C $@-$(FFMPEG_BASENAME)
 	$(MOVE)
 
 .ffmpeg: ffmpeg



More information about the vlc-commits mailing list