Hi,

In ffmpeg.c, input stream's deocder will be initialized in init_input_stream(), 
where ist->dec_ctx->get_format and ist->dec_ctx->get_buffer2 are custom-defined 
functions, i.e. get_format() and get_buffer().


Why ffmpeg.c uses custom-defined functions instead of default functions?


I add some simple source code in ffmpeg.c, where input stream's decoder is 
closed, and reopened. But ffmpeg will coredump. If I use default functions 
instead of the two custom-defined functions, no coredump exist.


Is there something wrong with my using ffmpeg functions?


Thanks!


Regards


Andrew
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to