Skip to content
This repository has been archived by the owner on Jun 11, 2020. It is now read-only.

update deprecated function ( avcodec_alloc_frame, get_buffer, avcodec_default_get_buffer ) #19

Merged
1 commit merged into from Feb 13, 2014

Conversation

Schebb
Copy link
Contributor

@Schebb Schebb commented Jan 21, 2014

avcodec_alloc_frame -> av_frame_alloc
avcodec_default_get_buffer -> avcodec_default_get_buffer2
get_buffer -> get_buffer2

... and clean space at end of line.

need also to update:

  • avcodec_default_release_buffer
  • release_buffer

@mpenkov
Copy link
Owner

mpenkov commented Feb 13, 2014

Hey, thanks for doing the update. I notice there's a lot of unnecessary white space changes mixed in the same commit with good changes; can you please modify the commit to remove them? I don't mind you changing the whitespace, I just think they belong in a separate commit, to keep things easy to understand.

@Schebb
Copy link
Contributor Author

Schebb commented Feb 13, 2014

Done.

Actually, I noticed the whitespace changes after the commit (wrong emacs config :-/). I only changed the functions on this commit.

@ghost
Copy link

ghost commented Feb 13, 2014

Actually, it's probably better not to change any whitespace at all. That way, people can diff the most recent version of the source with the old Dranger tutorials and still get a meaningful result.

ghost pushed a commit that referenced this pull request Feb 13, 2014
update deprecated function ( avcodec_alloc_frame, get_buffer, avcodec_default_get_buffer )
@ghost ghost merged commit 172ec32 into mpenkov:master Feb 13, 2014
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants