Hi, On 2009-07-15 at 19:25:34 [+0200], Tyler Laing <[email protected]> wrote: > As the title says. I'm using decode_subtitle, not decode_subtitle2, as > I'm trying to maintain the widest amount of backwards compatibility with > v 0.5. On investigation, I found that the AVCodecContext had a codec > internal to it, that was empty, and this is why the segfault is thrown. > On debugging, I found that avcodec_find_decoder(CODEC_ID_TEXT) returns > null, which causes avcodec_open to fail. Why does avcodec_find_decoder > return null for CODEC_ID_TEXT? > > I am using the 0.5 package, downloaded from the website, and installed > from source with --enable-shared as the only command line option.
CODEC_ID_TEXT appears only as ID in the avcodec.h header. There is not an actual implementation (at least in v0.5). There are a couple more IDs that don't have an implementation, for example CODEC_ID_INDEO5. Best regards, -Stephan _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
