bugGnash - The GNU Flash player - Bugs: bug #47248, Old CODECID constants in...


bug #47248: Old CODECID constants in VideoDecoderFfmpegVaapi.cpp

Submitted by:  Rafal Rzepecki <divide>
Submitted on:  Thu 25 Feb 2016 12:13:14 AM UTC  
Category:  video-ffmpeg Severity:  3 - Normal
Release:  master Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 25 Feb 2016 08:03:49 AM UTC, comment #1: 

Could you please provide a patch for this ?

Sandro Santilli <strk>
Project Member
Thu 25 Feb 2016 12:13:14 AM UTC, original submission:  

libmedia/ffmpeg/VideoDecoderFfmpegVaapi.cpp uses old style CODECID constants like CODEC_ID_MPEG2VIDEO, which aren't present in newer libav versions, having been replaced by eg. AV_CODEC_ID_MPEG2VIDEO.

In fact gnash already includes polyfills in libmedia/ffmpeg/ffmpegHeaders.h, so just replacing the constants with the new style ones will fix it while still not breaking on older libav headers.

Rafal Rzepecki <divide>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by strk (Posted a comment)
  • -email is unavailable- added by divide (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.6