frame: allow align=0 (meaning automatic) for av_frame_get_buffer()
authorAnton Khirnov <anton@khirnov.net>
Wed, 8 Feb 2017 08:46:04 +0000 (09:46 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sat, 11 Feb 2017 10:37:45 +0000 (11:37 +0100)
commit4de220d2e3751c459f8739a08ac6ca52e63eba30
tree099e9902726a41b8f0dd7d39fa66d6874c79cc4c
parentf44ec22e095c5ba00ffeadd891655c456e3dd014
frame: allow align=0 (meaning automatic) for av_frame_get_buffer()

This will avoid every caller from hardcoding some specific alignment,
which may break in the future with new instruction sets.
doc/APIchanges
libavutil/frame.c
libavutil/frame.h
libavutil/version.h