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

Switch to a const AVCodec *. #324

Merged
merged 1 commit into from
Mar 30, 2024

Conversation

clalancette
Copy link
Contributor

This is because newer versions of avcodec return a const AVCodec *.

This should fix the build on Ubuntu 24.04, like in https://build.ros2.org/view/Rbin_uN64/job/Rbin_uN64__usb_cam__ubuntu_noble_amd64__binary/ . I also compile tested it on Ubuntu 22.04, and it worked find there as well.

This is because newer versions of avcodec return a const AVCodec *.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
@flynneva flynneva self-requested a review March 30, 2024 15:53
@flynneva
Copy link
Collaborator

flynneva commented Mar 30, 2024

Rolling CI failing due to this issue: ros-tooling/action-ros-ci#844 (comment)

EDIT: in the last two weeks it looks like the new docker image is available now, so re-running the pipeline now should pass since it'll now pick up the noble rolling image

@flynneva
Copy link
Collaborator

The noble image is now correctly picked up for the rolling job, however it looks like some deps are still not fully ready for prime time yet on the new 24.04 distro.

I'll go ahead and merge this in so that once the deps are available for rosdep itll correctly pull them in

@flynneva flynneva merged commit a8962cb into ros-drivers:ros2 Mar 30, 2024
8 of 9 checks passed
@clalancette
Copy link
Contributor Author

@flynneva Thanks for merging! Yeah, we are still waiting for some dependencies to rebuild in Noble. Once that happens, this should fix the issue.

@clalancette clalancette deleted the clalancette/const-avcodec branch April 3, 2024 12:26
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.

2 participants