Skip to content

requires free packet #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Conversation

jhpark555
Copy link

It needs to be freeing the packet after ao_play. Otherwise the kernel becomes stack overflow.

	if(!ao_play(out_dev, resamples, howmuch)){
		printf("Could not play audio to output device...");
		goto retry;
	}
  •            av_packet_unref(&pkt); 
    
    }
    CodecHandler_deinit(&codecHanlder);
    return (0);

@corecode
Copy link
Owner

Thanks for the pull request. However, are a lot of changes that were done by other authors; I think development has moved to @morningstar1 's repository.

jhpark555 and others added 2 commits December 26, 2022 12:40
pkt memory overflows. it needs to be freeing the pkt buffer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants