Fix resource compiling.
Move constant that was removed from ffmpeg to our own code.