(avcodec.h) #define AVERROR(e) (-(e)) /**< Returns a negative error code from a POSIX error code, to return from library functions. */
(errno-base.h) #define    EIO         5    /* I/O error */

Seems you've got yourself into some I/O error ...

maybe if you debug more you'll find where the exact location of where the function pointer is going, and see what's causing it ...



On 06/14/2010 11:09 AM, Ankit Singhal wrote:
Hi Friends,

I am waiting for your help. Hope my question is clear to you guys. For any 
doubts, please write me back.

regards
Ankit Singhal

On Fri, 11 Jun 2010 23:31:54 +0530  wrote
Dear Admin and Members,


This is the first time i am using this mailing list to post my query related to 
ffmpeg. I am a software developer using ffmpeg libs for playing the mediafiles. 
I am trying to demux an .mpg file using ffmpeg demuxer. This is a file which 
has mpeg video and Dolby digital audio and can be played through VLC player. 
When i try to denux it using ffmpeg and try to get the stream info using 
av_find_stream_info() api of libavformat, it fails and returns -5. When i try 
to debug further, i found out that it calls av_read_frame_internal which 
further calls av_read_packet. This function calls a function pointer 
read_packet. It fails and returns -5. Can somebody suggest the possible reason 
for this failure. Also wanna know the mapping of function pointer read_packet 
to the actual function. Please help



regards

Ankit Singhal

_______________________________________________

libav-user mailing list

[email protected]

https://lists.mplayerhq.hu/mailman/listinfo/libav-user

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

Reply via email to