Skip to content

Updates for FFmpeg7#19

Open
TheGreatMcPain wants to merge 1 commit intodubhater:masterfrom
TheGreatMcPain:ffmpeg7
Open

Updates for FFmpeg7#19
TheGreatMcPain wants to merge 1 commit intodubhater:masterfrom
TheGreatMcPain:ffmpeg7

Conversation

@TheGreatMcPain
Copy link
Copy Markdown

Fixes #16

I haven't tested extensively. I don't currently have any mpeg2 sources to test, but I was able to open a m2ts file from a Blu-ray.

  • Use AVChannelLayout struct
  • replace av_get_channel_layout_string with av_channel_layout_describe,
  • replace av_init_packet with av_packet_alloc
  • remove uses of avcodec_close (not sure if just removing it is enough)

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.

Doesn't compile with ffmpeg 7 or other problem

1 participant