summaryrefslogtreecommitdiff
path: root/minidlna/ffmpeg7.patch
blob: 806a2fa5c6f8aa0ef6c829deefa91624f4d9bb5c (plain)
    1 diff --git a/libav.h b/libav.h
    2 index b69752c..aed9d18 100644
    3 --- a/libav.h
    4 +++ b/libav.h
    5 @@ -174,7 +174,7 @@ lav_get_interlaced(AVStream *s)
    6  #define lav_codec_tag(s) s->codecpar->codec_tag
    7  #define lav_sample_rate(s) s->codecpar->sample_rate
    8  #define lav_bit_rate(s) s->codecpar->bit_rate
    9 -#define lav_channels(s) s->codecpar->channels
   10 +#define lav_channels(s) s->codecpar->ch_layout.nb_channels
   11  #define lav_width(s) s->codecpar->width
   12  #define lav_height(s) s->codecpar->height
   13  #define lav_profile(s) s->codecpar->profile

Generated by cgit