Skip to content

Commit

Permalink
Fix build against FFmepg 0.5 and 0.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Dec 31, 2012
1 parent 3bb1f0f commit 4012528
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/avformat/consumer_avformat.c
Expand Up @@ -51,6 +51,7 @@
# include <libavutil/samplefmt.h>
#else
# define AV_SAMPLE_FMT_NONE SAMPLE_FMT_NONE
# define AV_SAMPLE_FMT_U8 SAMPLE_FMT_U8
# define AV_SAMPLE_FMT_S16 SAMPLE_FMT_S16
# define AV_SAMPLE_FMT_S32 SAMPLE_FMT_S32
# define AV_SAMPLE_FMT_FLT SAMPLE_FMT_FLT
Expand Down
1 change: 1 addition & 0 deletions src/modules/avformat/producer_avformat.c
Expand Up @@ -38,6 +38,7 @@
#if LIBAVUTIL_VERSION_INT >= ((50<<16)+(38<<8)+0)
# include <libavutil/samplefmt.h>
#else
# define AV_SAMPLE_FMT_U8 SAMPLE_FMT_U8
# define AV_SAMPLE_FMT_S16 SAMPLE_FMT_S16
# define AV_SAMPLE_FMT_S32 SAMPLE_FMT_S32
# define AV_SAMPLE_FMT_FLT SAMPLE_FMT_FLT
Expand Down

0 comments on commit 4012528

Please sign in to comment.