From 777e5f27302e76f7bab7e853011c79c2b770af4c Mon Sep 17 00:00:00 2001 From: martinml <217925+martinml@users.noreply.github.com> Date: Mon, 24 Dec 2018 19:26:20 +0100 Subject: [PATCH] Enable C++11 when compiling In Ubuntu 16.04 the buillding instructions were throwing an error: > This file requires compiler and library support for the ISO C++ 2011 standard This PR fixed the problem at least for my particular case. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9eb0245..372d701 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Get the source code. Compile the source code using this command (all one line): - g++ -o untrunc -O3 *.cpp -lavformat -lavcodec -lavutil + g++ -o untrunc -O3 *.cpp -lavformat -lavcodec -lavutil -std=c++11 ## Using