錯誤如下:
configure: error: cannot guess build type; you must specify one
make: *** 沒有指明目標並且找不到 makefile。 停止。
make: *** No rule to make target 'install'。 停止。
解決辦法:
加個參數即可。
./configure --build=arm-linux
錯誤如下:
configure: error: cannot guess build type; you must specify one
make: *** 沒有指明目標並且找不到 makefile。 停止。
make: *** No rule to make target 'install'。 停止。
解決辦法:
加個參數即可。
./configure --build=arm-linux
所以avcodec_receive_frame之後,要判斷AVFrame中是否有數據。 異步、同步各有好處。
開始懷疑是參數問題,後來反覆調整,都沒有解決。再後來,看到別人提示,重新編譯了一次,就沒有這個錯誤了。