I came across something in libavformat/rawdec.h that looks like a typo to me. The macro FF_DEF_RAWSUB_DEMUXER uses FF_RAWVIDEO_DEMUXER_CLASS in its definition. Shouldn't it use FF_RAWSUB_DEMUXER_CLASS instead? FF_RAWSUB_DEMUXER_CLASS is not referenced by anything else, so the typo above is the most reasonable explanation. Regards, Ziga