Martin Wache wrote: > Maybe you can add some printfs to libavformat av_open_input_file() (in > libavformat/util.c, and #undef printf to get rid of the linking error) > to find out what goes wrong... >
I've done som testing and this is what I've found out so far: I've added some printf's in av_open_input_file where the av_probe_input call is done. When I start ffplay, the file is probed and fmt gets a value in the second 'guess' ( see source of util.c ) decode_thread av_probe_input_format(pd, 0): fmt=0 av_probe_input_format(pd, 1): fmt=9528352 I know fmt is an AVInputFormat pointer but I only print it as an int to see if it's being initialized. When testing SoftPlay: open file '/transfer/download/film/Pettson och Findus - Kattonauten .mpg' av_probe_input_format(pd, 0): fmt=0 av_probe_input_format(pd, 1): fmt=0 av_probe_input_format(pd, 1): fmt=0 av_probe_input_format(pd, 1): fmt=0 av_probe_input_format(pd, 1): fmt=0 av_probe_input_format(pd, 1): fmt=0 av_probe_input_format(pd, 1): fmt=0 av_probe_input_format(pd, 1): fmt=0 av_probe_input_format(pd, 1): fmt=0 av_probe_input_format(pd, 1): fmt=0 av_probe_input_format(pd, 1): fmt=0 could not open file. Return value -84 Isn't the real problem that you call av_open_input_file with a NULL for fmt? /Per _______________________________________________ Softdevice-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/softdevice-devel
