yuv4mpegenc: do not access AVCodecContext.coded_frame
authorAnton Khirnov <anton@khirnov.net>
Sat, 5 Jul 2014 06:44:00 +0000 (06:44 +0000)
committerAnton Khirnov <anton@khirnov.net>
Wed, 9 Jul 2014 13:40:39 +0000 (13:40 +0000)
commit650d384048ed42579cc6d67bf32a94b468c0b6cb
tree68e0a7354d65f13f69ed764013065eeebdfed77a
parent27c1f82f561932c83191bcd3e70e0cb1712485ba
yuv4mpegenc: do not access AVCodecContext.coded_frame

Its contents are meaningful only if the stream codec context is the one
actually used for encoding, which is often not the case (and is
discouraged).

Use AVCodecContext.field_order instead.
libavformat/yuv4mpegenc.c