Guest User

Untitled

a guest
Mar 12th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. AVFormatContext* pFormatCtx = avformat_alloc_context();
  2. av_register_all();
  3. qDebug() << fname;
  4. int ret = avformat_open_input(&pFormatCtx, fname.toStdString().c_str(), NULL, NULL);
  5. if(ret < 0)
  6. perror("Issue is");
  7. return true;
Add Comment
Please, Sign In to add comment