标签:
我在调用avformat_open_input的时候,一直返回-13错误,如下代码:
const char *url = "/mnt/sdcard/xpg.mp4"; av_register_all(); AVFormatContext *pFormatCtx = NULL; int ret = avformat_open_input(&pFormatCtx, url, NULL, NULL); LOGE("ret:%d", ret);
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
avformat_open_input() always return -13
标签:
原文地址:http://my.oschina.net/jerikc/blog/417121