avcodec_encode_audio(): fix invalid free
Since 2bc0de38, AVFrame needs to be initialized before calling avcodec_get_frame_defaults(). Signed-off-by: Anton Khirnov <anton@khirnov.net>
Showing
Please
register
or
sign in
to comment
Since 2bc0de38, AVFrame needs to be initialized before calling avcodec_get_frame_defaults(). Signed-off-by: Anton Khirnov <anton@khirnov.net>