examples/decoding_encoding: check av_samples_get_buffer_size() return code