directrender: Don't set pkt_pts field

It's not supposed to be set.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Replace deprecated usage of avcodec_alloc_frame() with av_alloc_frame()

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