]> git.sesse.net Git - ffmpeg/commitdiff
Merge commit '83678dbbae64ad8c501e0c732c1117e642c25dae'
authorJames Almer <jamrial@gmail.com>
Tue, 11 Sep 2018 16:57:23 +0000 (13:57 -0300)
committerJames Almer <jamrial@gmail.com>
Tue, 11 Sep 2018 16:57:23 +0000 (13:57 -0300)
* commit '83678dbbae64ad8c501e0c732c1117e642c25dae':
  libopenh264dec: Export the decoded profile and level in AVCodecContext

Merged-by: James Almer <jamrial@gmail.com>
1  2 
libavcodec/libopenh264dec.c

index 3acc3696da3b382cfa5ec56b0b00889235fe8c20,60e4b028ecbca8955c5d3e35faaa7fee1b29775e..f9b91ce3c05a699cb2180cc6b80287d3b17936a4
@@@ -92,9 -92,12 +92,12 @@@ static int svc_decode_frame(AVCodecCont
      SVCContext *s = avctx->priv_data;
      SBufferInfo info = { 0 };
      uint8_t* ptrs[3];
 -    int linesize[3];
 +    int ret, linesize[3];
      AVFrame *avframe = data;
      DECODING_STATE state;
+ #if OPENH264_VER_AT_LEAST(1, 7)
+     int opt;
+ #endif
  
      if (!avpkt->data) {
  #if OPENH264_VER_AT_LEAST(1, 9)