forked from omniosorg/omnios-extra
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request omniosorg#1443 from hadfl/minidlna
- Loading branch information
Showing
3 changed files
with
16 additions
and
22 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff -wpruN --no-dereference '--exclude=*.orig' a~/libav.h a/libav.h | ||
--- a~/libav.h 1970-01-01 00:00:00 | ||
+++ a/libav.h 1970-01-01 00:00:00 | ||
@@ -174,7 +174,11 @@ lav_get_interlaced(AVStream *s) | ||
#define lav_codec_tag(s) s->codecpar->codec_tag | ||
#define lav_sample_rate(s) s->codecpar->sample_rate | ||
#define lav_bit_rate(s) s->codecpar->bit_rate | ||
+#if LIBAVFORMAT_VERSION_MAJOR >= 61 | ||
+#define lav_channels(s) s->codecpar->ch_layout.nb_channels | ||
+#else | ||
#define lav_channels(s) s->codecpar->channels | ||
+#endif | ||
#define lav_width(s) s->codecpar->width | ||
#define lav_height(s) s->codecpar->height | ||
#define lav_profile(s) s->codecpar->profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ minissdp.c.patch | |
monitor.c.patch | ||
icons.c.patch | ||
select_use_after_free.patch | ||
ffmpeg_7.patch | ||
libavformat_61.patch |