Skip to content

Commit

Permalink
Using the same Visual Studio 2013 deprecation fix that was applied to…
Browse files Browse the repository at this point in the history
… the previously deprecated function. (I don't have a way to test this personally).
  • Loading branch information
CleanCut committed Jun 21, 2013
1 parent 1a4e5c7 commit c308d16
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/avbin.h
Expand Up @@ -518,7 +518,12 @@ int32_t avbin_get_ffmpeg_revision();
* Why is this even here? It just returns the number 192000. It has been
* removed upstream, so we'll remove it as well some time soon.
*/
#ifndef _MSC_VER
size_t avbin_get_audio_buffer_size() __attribute__((deprecated));;
#else
size_t avbin_get_audio_buffer_size();
#pragma deprecated(avbin_get_audio_buffer_size)
#endif

/**
* Determine if AVbin includes a requested feature.
Expand Down

0 comments on commit c308d16

Please sign in to comment.