mpeg12: move current_picture_ptr reset to the end of decode_frame.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 9 Dec 2012 18:49:51 +0000 (19:49 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 9 Dec 2012 18:49:51 +0000 (19:49 +0100)
commit0af7ccd9e2689e5ae1a4532907b6d7c2e169ebb9
tree1e337ff2aeb47f56fc291c1f616195ff15ac7c5c
parente3d95b54dbaf02b1c6ecdad67dbbf83562025be8
mpeg12: move current_picture_ptr reset to the end of decode_frame.

This fixes passing fields instead of frames into the decoder.

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