Hello All,

Unfortunately, previous patch for  libavcodec/qsv.c at the commit
db89f45535aa3e99bceb5f6bf957c90e7ca39841 does initiate the compiler warning
"ISO C90 forbids mixed declarations and code" under linux platform,
because there is declaration block under preprocessor condition. Looks
like it can not be re-arranged by graceful way into one function.
I believe the best way to fix it is moving linux-related code into own
separate function. Suggested patch does this.
Please review. Thank.
  

-- 
Best regards,
 Ivan                          mailto:ivan.us...@nablet.com

Attachment: 0001-libavcodec-qsv.c-Linux-only-code-part-has-been-moved.patch
Description: Binary data

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to