avcodec: do not flush buffers if codec hasn't been opened
authorRafaël Carré <rafael.carre@gmail.com>
Mon, 26 Oct 2009 12:55:24 +0000 (13:55 +0100)
committerRafaël Carré <rafael.carre@gmail.com>
Mon, 26 Oct 2009 12:56:11 +0000 (13:56 +0100)
commit097759016d089bb4bb17ea6d28ad3448f137ea5d
tree0c709a65d24e34eab5f94a0451f01475bacd7c8e
parent89f778a6061860e87b323851a1d3d4bcfbef1863
avcodec: do not flush buffers if codec hasn't been opened

Reported-by: Konstantin Pavlov (thresh)
modules/codec/avcodec/video.c