OSDN Git Service

avcodec: use av_frame_unref() to set frame defaults
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 17 Dec 2013 13:02:29 +0000 (14:02 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 17 Dec 2013 13:02:29 +0000 (14:02 +0100)
commit6aed7bfd845349e68708b5791b3296c0e07f1d0d
treea1938fed4ce83ec4349ea06dc97a4e65220cb3e2
parent745c40a47f885e57ad97a775bbaa5c9973430276
avcodec: use av_frame_unref() to set frame defaults

This ensures that the code isnt duplicated and cant become out of sync

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/utils.c