Skip to content
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

fix ffmpeg parser error, fix alloc error #74

Merged
merged 2 commits into from
May 30, 2022

Conversation

bunny720
Copy link
Contributor

PR描述:

fix fffmpeg parse parameter error, fix alloc error

详细描述:

1、fix ffmpeg parse video name error
2、modify memory align alloc function, for not enough memory.

关联issue:

fix #73
fix #72

@bunny720 bunny720 added the bug Something isn't working label May 28, 2022
@zhangxiaojingCAN zhangxiaojingCAN added this to the v1.7 milestone May 28, 2022
@@ -0,0 +1,28 @@
From a45bbd422e05488a4818106a8f59d6046388b899 Mon Sep 17 00:00:00 2001
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为什么要改kernal? 没有memory不会返回错误?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

之前kernel的share memory align alloc的kernel如果memory不够的话,也不会返回错误,会返回上一次alloc的出来的物理地址,但是又没有真的alloc,所以就会出错。

@zhangxiaojingCAN zhangxiaojingCAN merged commit 02c79f5 into kendryte:dev May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: ffmpeg parse parameter error [Bug]: kernel panic when encode_app input data is too big
4 participants