Thank you, Alexandr Kutuzov,
i modify code to allocate memory with av_malloc and free memory with
av_free, it does work, thank you for your comment again.
i have question about ffplay, i follow it allocates memory as an array like
*uint8_t audio_buf1[(AVCODEC_MAX_AUDIO_FRAME_SIZE * 3) / 2];* why does it
work right, but mine can not be?
best regards,
jacky_zz
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user