avcodec/smacker: use the correct field instead of a hardcoded value for the index...