Only use one AVBufRef for get_buffer2

Turns out it only needs one.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>