hevc: split out setting AVCodecContext parameters
authorAnton Khirnov <anton@khirnov.net>
Sun, 29 Mar 2015 12:09:51 +0000 (14:09 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 3 Apr 2015 11:10:02 +0000 (13:10 +0200)
commit1ae7afd256f9af1eb4f63f9adcf03d581ce4e2b5
tree4e9ec6299e4219e1bb0e76a1a54b49320c216dff
parent7d097a0fc57f0fa8385962a539c657c2f40b5ed0
hevc: split out setting AVCodecContext parameters

Additionally always set the software pixel format, so it's available
even if ff_get_format() is not called later. This will be useful for
exporting stream parameters from init().
libavcodec/hevc.c