summaryrefslogtreecommitdiff
path: root/libavcodec/version.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-09-11 17:47:29 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-09-12 13:38:31 +0200
commit6064f697a321174232a3fad351afb21150c3e9e5 (patch)
treeaa83e7afc13097a44bdfadebda3bcb4bff3d1a62 /libavcodec/version.h
parent1e0b8bf0b3b3b4247fb21e9839af342ae879607c (diff)
lavc: Enable side data only packets by default
Deprecate the now unused option, but temporarily retain the capability to disable the now default behaviour. Mention this change in the AVPacket documentation. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec/version.h')
-rw-r--r--libavcodec/version.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/version.h b/libavcodec/version.h
index eefc3a93d1..45b99ca266 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -162,5 +162,8 @@
#ifndef FF_API_WITHOUT_PREFIX
#define FF_API_WITHOUT_PREFIX (LIBAVCODEC_VERSION_MAJOR < 59)
#endif
+#ifndef FF_API_SIDEDATA_ONLY_PKT
+#define FF_API_SIDEDATA_ONLY_PKT (LIBAVCODEC_VERSION_MAJOR < 59)
+#endif
#endif /* AVCODEC_VERSION_H */