Hi all,

I have a problem with the function av_open_input_file.

As normal , we can use it like this:

if(av_open_input_file(&pFormatCtx, argv[1], NULL, 0, NULL)!=0)
  return -1; // Couldn't open file

My problem is that I can not pass argv[1] into this function, now I have to
pass a file pointer, which already is opened by fopen in another function.

Can anyone help me with this problem ? I stuck with it.

Best regards,
Huy.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to