avutil/pixdesc: Add av_write_image_line2(), av_read_image_line2()

This is needed because of 32bit float formats (which are difficult to
store in 16bits)

This also fixes undefined behavior found by fate

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer
2018-10-25 23:08:20 +02:00
parent a5d98da4d6
commit 718044dc19
6 changed files with 73 additions and 19 deletions

View File

@@ -15,6 +15,9 @@ libavutil: 2017-10-21
API changes, most recent first:
2018-XX-XX - xxxxxxxxxx - lavu 56.21.100 - pixdesc.h
Add av_read_image_line2(), av_write_image_line2()
2018-10-24 - xxxxxxxxxx - lavu 56.20.100 - frame.h
Add AV_FRAME_DATA_S12M_TIMECODE